<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-10 09:22:35 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git clone</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Getting_and_Creating_Projects">
                                Getting and Creating Projects                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="0c4fa043b1bbef87a7f5fb3ecb0f21dd2c45d02b9af0a4ed0f0ba2443b05d654/63" data-source="git-clone" onmousemove="i18n(this)">git-clone</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="b32b393681e05b787d50ea701cd79af839318388db54c5e17af89336a0383354/b9" data-source="git-clone - Clone a repository into a new directory" onmousemove="i18n(this)">git-clone &mdash; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &vcy; &ncy;&ocy;&vcy;&ycy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-css">git clone <span class="hljs-selector-attr">[--template=&lt;template-directory&gt;]</span>
          <span class="hljs-selector-attr">[-l]</span> <span class="hljs-selector-attr">[-s]</span> <span class="hljs-selector-attr">[--no-hardlinks]</span> <span class="hljs-selector-attr">[-q]</span> <span class="hljs-selector-attr">[-n]</span> <span class="hljs-selector-attr">[--bare]</span> <span class="hljs-selector-attr">[--mirror]</span>
          <span class="hljs-selector-attr">[-o &lt;name&gt;]</span> <span class="hljs-selector-attr">[-b &lt;name&gt;]</span> <span class="hljs-selector-attr">[-u &lt;upload-pack&gt;]</span> <span class="hljs-selector-attr">[--reference &lt;repository&gt;]</span>
          <span class="hljs-selector-attr">[--dissociate]</span> <span class="hljs-selector-attr">[--separate-git-dir &lt;git-dir&gt;]</span>
          <span class="hljs-selector-attr">[--depth &lt;depth&gt;]</span> <span class="hljs-selector-attr">[--[no-]</span>single-branch] <span class="hljs-selector-attr">[--no-tags]</span>
          <span class="hljs-selector-attr">[--recurse-submodules[=&lt;pathspec&gt;]</span>] <span class="hljs-selector-attr">[--[no-]</span>shallow-submodules]
          <span class="hljs-selector-attr">[--[no-]</span>remote-submodules] <span class="hljs-selector-attr">[--jobs &lt;n&gt;]</span> <span class="hljs-selector-attr">[--sparse]</span> <span class="hljs-selector-attr">[--[no-]</span>reject-shallow]
          <span class="hljs-selector-attr">[--filter=&lt;filter&gt; [--also-filter-submodules]</span>] <span class="hljs-selector-attr">[--]</span> &lt;repository&gt;
          <span class="hljs-selector-attr">[&lt;directory&gt;]</span></pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="92f4c5fa9c20cd183790ff15cba887c807e4317c8a7c1ed90c154b59ca8fa401/9e" data-source="Clones a repository into a newly created directory, creates remote-tracking branches for each branch in the cloned repository (visible using &lt;code&gt;git branch --remotes&lt;/code&gt;), and creates and checks out an initial branch that is forked from the cloned repository&amp;rsquo;s currently active branch." onmousemove="i18n(this)">&Kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&iecy;&tcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &vcy;&ocy; &vcy;&ncy;&ocy;&vcy;&softcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ncy;&ycy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;, &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &vcy;&iecy;&tcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &vcy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy; (&ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&iecy;&tcy;&scy;&yacy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>git branch --remotes</code> ), &acy; &tcy;&acy;&kcy;&zhcy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &icy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&acy;&iecy;&tcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ocy;&tcy;&vcy;&iecy;&tcy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;&mcy; &ocy;&tcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &acy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;.</span></p> <p><span data-i18n="fb9fb5d1bc82fafbed8331e94d2999288f7fd6c8e75b525c3bbbce12d152cbc3/2e" data-source="After the clone, a plain &lt;code&gt;git fetch&lt;/code&gt; without arguments will update all the remote-tracking branches, and a &lt;code&gt;git pull&lt;/code&gt; without arguments will in addition merge the remote master branch into the current master branch, if any (this is untrue when &amp;quot;--single-branch&amp;quot; is given; see below)." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&lcy;&iecy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy;&jcy;  <code>git fetch</code>  &bcy;&iecy;&zcy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ocy;&vcy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy; &vcy;&scy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;, &acy;  <code>git pull</code>  &bcy;&iecy;&zcy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ocy;&vcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&icy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ucy;&yucy; &gcy;&lcy;&acy;&vcy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy; &scy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &gcy;&lcy;&acy;&vcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&ocy;&jcy;, &iecy;&scy;&lcy;&icy; &tcy;&acy;&kcy;&ocy;&vcy;&acy;&yacy; &icy;&mcy;&iecy;&iecy;&tcy;&scy;&yacy; (&ecy;&tcy;&ocy; &ncy;&iecy;&vcy;&iecy;&rcy;&ncy;&ocy;, &iecy;&scy;&lcy;&icy; &zcy;&acy;&dcy;&acy;&ncy;  &quot;--single-branch&quot; ; &scy;&mcy;. &ncy;&icy;&zhcy;&iecy;). ).</span></p> <p><span data-i18n="c2742c3e99447fdb25958439dabcc046a3d98e9723500ddda56c08bc7ebd11b7/42" data-source="This default configuration is achieved by creating references to the remote branch heads under &lt;code&gt;refs/remotes/origin&lt;/code&gt; and by initializing &lt;code&gt;remote.origin.url&lt;/code&gt; and &lt;code&gt;remote.origin.fetch&lt;/code&gt; configuration variables." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &dcy;&ocy;&scy;&tcy;&icy;&gcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&ucy;&tcy;&iecy;&mcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &scy;&scy;&ycy;&lcy;&ocy;&kcy; &ncy;&acy; &zcy;&acy;&gcy;&ocy;&lcy;&ocy;&vcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &vcy;  <code>refs/remotes/origin</code>  &icy; &icy;&ncy;&icy;&tscy;&icy;&acy;&lcy;&icy;&zcy;&acy;&tscy;&icy;&icy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&khcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>remote.origin.url</code>  &icy;  <code>remote.origin.fetch</code> .</span></p> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <dl> <dt id="Documentation/git-clone.txt--l"><span data-i18n="8d29a0f35918ca625667b2858e1c366e227ecbb424c5b30d008a1b2ec709e6d2/a6" data-source="-l" onmousemove="i18n(this)">-l</span></dt> <dt id="Documentation/git-clone.txt---local"><span data-i18n="9f0e72f4bd26ca5a954cf99834365ff6f9923456a0e799a13c541fcd0fe28e04/e6" data-source="--local" onmousemove="i18n(this)">--local</span></dt> <dd> <p><span data-i18n="88c41d3acb72384836a0665339b57116c3d44c639acd804940ad3d4542207b5d/2a" data-source="When the repository to clone from is on a local machine, this flag bypasses the normal &amp;quot;Git aware&amp;quot; transport mechanism and clones the repository by making a copy of HEAD and everything under objects and refs directories. The files under &lt;code&gt;.git/objects/&lt;/code&gt; directory are hardlinked to save space when possible." onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;, &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&acy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&mcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy;&iecy;, &ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy; &ocy;&bcy;&khcy;&ocy;&dcy;&icy;&tcy; &ocy;&bcy;&ycy;&chcy;&ncy;&ycy;&jcy; &mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy; &tcy;&rcy;&acy;&ncy;&scy;&pcy;&ocy;&rcy;&tcy;&acy;  &quot;Git aware&quot;  &icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&iecy;&tcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &scy;&ocy;&zcy;&dcy;&acy;&vcy;&acy;&yacy; &kcy;&ocy;&pcy;&icy;&yucy; HEAD &icy; &vcy;&scy;&iecy;&gcy;&ocy;, &chcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &vcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &icy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;. &Fcy;&acy;&jcy;&lcy;&ycy; &vcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;  <code>.git/objects/</code>  &zhcy;&iecy;&scy;&tcy;&kcy;&ocy; &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ycy; &dcy;&lcy;&yacy; &ecy;&kcy;&ocy;&ncy;&ocy;&mcy;&icy;&icy; &mcy;&iecy;&scy;&tcy;&acy;, &kcy;&ocy;&gcy;&dcy;&acy; &ecy;&tcy;&ocy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;.</span></p> <p><span data-i18n="9b374f1a52b7dcc10f2a8af35ffec85ac4ec143f0e7508a56c5866673dfc13eb/79" data-source="If the repository is specified as a local path (e.g., &lt;code&gt;/path/to/repo&lt;/code&gt;), this is the default, and --local is essentially a no-op. If the repository is specified as a URL, then this flag is ignored (and we never use the local optimizations). Specifying &lt;code&gt;--no-local&lt;/code&gt; will override the default when &lt;code&gt;/path/to/repo&lt;/code&gt; is given, using the regular Git transport instead." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &kcy;&acy;&kcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &pcy;&ucy;&tcy;&softcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>/path/to/repo</code> ), &ecy;&tcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &acy; --local &pcy;&ocy; &scy;&ucy;&tcy;&icy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&ucy;&scy;&tcy;&ycy;&mcy;. &IEcy;&scy;&lcy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &kcy;&acy;&kcy; URL, &tcy;&ocy; &ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy; (&icy; &mcy;&ycy; &ncy;&icy;&kcy;&ocy;&gcy;&dcy;&acy; &ncy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &ocy;&pcy;&tcy;&icy;&mcy;&icy;&zcy;&acy;&tscy;&icy;&icy;). &Ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&iecy;  <code>--no-local</code>  &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &iecy;&scy;&lcy;&icy; &zcy;&acy;&dcy;&acy;&ncy;  <code>/path/to/repo</code> , &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &ocy;&bcy;&ycy;&chcy;&ncy;&ycy;&jcy; &tcy;&rcy;&acy;&ncy;&scy;&pcy;&ocy;&rcy;&tcy;  Git .</span></p> <p><span data-i18n="09e9328ac48cf14d7d5de3cd06232d7bced78c70150398dc316c253ac1daf7b5/7e" data-source="If the repository&amp;rsquo;s &lt;code&gt;$GIT_DIR/objects&lt;/code&gt; has symbolic links or is a symbolic link, the clone will fail. This is a security measure to prevent the unintentional copying of files by dereferencing the symbolic links." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy;  <code>$GIT_DIR/objects</code>  &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &icy;&mcy;&iecy;&iecy;&tcy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &icy;&lcy;&icy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&ocy;&jcy;, &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&icy;&tcy;&scy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy;. &Ecy;&tcy;&ocy; &mcy;&iecy;&rcy;&acy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ocy;&scy;&tcy;&icy;, &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&yucy;&shchcy;&acy;&yacy; &pcy;&rcy;&iecy;&dcy;&ocy;&tcy;&vcy;&rcy;&acy;&tcy;&icy;&tcy;&softcy; &ncy;&iecy;&pcy;&rcy;&iecy;&dcy;&ncy;&acy;&mcy;&iecy;&rcy;&iecy;&ncy;&ncy;&ocy;&iecy; &kcy;&ocy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &pcy;&ucy;&tcy;&iecy;&mcy; &rcy;&acy;&zcy;&ycy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&khcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;.</span></p> <p><span data-i18n="74491f77cfe34b2b85bbc1ec2f6ee220df628b2559400f0a6d5daa96956431ab/59" data-source="&lt;strong&gt;NOTE&lt;/strong&gt;: this operation can race with concurrent modification to the source repository, similar to running &lt;code&gt;cp -r src dst&lt;/code&gt; while modifying &lt;code&gt;src&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&Rcy;&Icy;&Mcy;&IEcy;&CHcy;&Acy;&Ncy;&Icy;&IEcy;. &Ecy;&tcy;&acy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&yacy; &mcy;&ocy;&zhcy;&iecy;&tcy; &scy;&ocy;&pcy;&rcy;&ocy;&vcy;&ocy;&zhcy;&dcy;&acy;&tcy;&softcy;&scy;&yacy; &ocy;&dcy;&ncy;&ocy;&vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&mcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy;&mcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &acy;&ncy;&acy;&lcy;&ocy;&gcy;&icy;&chcy;&ncy;&ocy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&ucy;  <code>cp -r src dst</code>  &pcy;&rcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy;  <code>src</code>  .</span></p> </dd> <dt id="Documentation/git-clone.txt---no-hardlinks"><span data-i18n="50e14e47637c11fc50d3c8e871e52187bbaaedb499a8a11b3880e75aa9497570/c1" data-source="--no-hardlinks" onmousemove="i18n(this)">--no-hardlinks</span></dt> <dd> <p><span data-i18n="5447aa14bbc6f9564eb2989c118ef0d06bc0c8b029347b06a243093ec5879934/7c" data-source="Force the cloning process from a repository on a local filesystem to copy the files under the &lt;code&gt;.git/objects&lt;/code&gt; directory instead of using hardlinks. This may be desirable if you are trying to make a back-up of your repository." onmousemove="i18n(this)">&Zcy;&acy;&scy;&tcy;&acy;&vcy;&softcy;&tcy;&iecy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy;&zcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &vcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&iecy; &scy;&kcy;&ocy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;  <code>.git/objects</code>  &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &zhcy;&iecy;&scy;&tcy;&kcy;&icy;&khcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &zhcy;&iecy;&lcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &pcy;&ycy;&tcy;&acy;&iecy;&tcy;&iecy;&scy;&softcy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &rcy;&iecy;&zcy;&iecy;&rcy;&vcy;&ncy;&ucy;&yucy; &kcy;&ocy;&pcy;&icy;&yucy; &scy;&vcy;&ocy;&iecy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-clone.txt--s"><span data-i18n="922e17b4edd60ff0277a57db2cdf26a407350a6ffbd4129318f293841d289609/7a" data-source="-s" onmousemove="i18n(this)">-s</span></dt> <dt id="Documentation/git-clone.txt---shared"><span data-i18n="ea6de40ba8dd17e04ab43bfa4e8af39e1588bf62288a7ead1e1d0017d4b9e170/d5" data-source="--shared" onmousemove="i18n(this)">--shared</span></dt> <dd> <p><span data-i18n="14aa2785c7d647520d8eccaf3176096ab167ace51e1a8285ce7dfb06529cbcf8/81" data-source="When the repository to clone is on the local machine, instead of using hard links, automatically setup &lt;code&gt;.git/objects/info/alternates&lt;/code&gt; to share the objects with the source repository. The resulting repository starts out without any object of its own." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&iecy;&mcy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&acy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&mcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy;&iecy;, &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &zhcy;&iecy;&scy;&tcy;&kcy;&icy;&khcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&tcy;&iecy;  <code>.git/objects/info/alternates</code>  &dcy;&lcy;&yacy; &scy;&ocy;&vcy;&mcy;&iecy;&scy;&tcy;&ncy;&ocy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &scy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&mcy;. &Pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&iecy;&tcy;&scy;&yacy; &bcy;&iecy;&zcy; &kcy;&acy;&kcy;&ocy;&gcy;&ocy;-&lcy;&icy;&bcy;&ocy; &scy;&ocy;&bcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy;.</span></p> <p><span data-i18n="a67359474c6a4b6c54abd157ff1c9baf714dc5fb5aa718f6569e96c95450c3fe/f3" data-source="&lt;strong&gt;NOTE&lt;/strong&gt;: this is a possibly dangerous operation; do &lt;strong&gt;not&lt;/strong&gt; use it unless you understand what it does. If you clone your repository using this option and then delete branches (or use any other Git command that makes any existing commit unreferenced) in the source repository, some objects may become unreferenced (or dangling). These objects may be removed by normal Git operations (such as &lt;code&gt;git commit&lt;/code&gt;) which automatically call &lt;code&gt;git maintenance run --auto&lt;/code&gt;. (See &lt;a href=&quot;git-maintenance&quot;&gt;git-maintenance[1]&lt;/a&gt;.) If these objects are removed and were referenced by the cloned repository, then the cloned repository will become corrupt." onmousemove="i18n(this)">&Pcy;&Rcy;&Icy;&Mcy;&IEcy;&CHcy;&Acy;&Ncy;&Icy;&IEcy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&tcy;&iecy;&ncy;&tscy;&icy;&acy;&lcy;&softcy;&ncy;&ocy; &ocy;&pcy;&acy;&scy;&ncy;&acy;&yacy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&yacy;; &ncy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &iecy;&gcy;&ocy;, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &pcy;&ocy;&ncy;&icy;&mcy;&acy;&iecy;&tcy;&iecy;, &chcy;&tcy;&ocy; &ocy;&ncy; &dcy;&iecy;&lcy;&acy;&iecy;&tcy;. &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&iecy;&tcy;&iecy; &scy;&vcy;&ocy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy;, &acy; &zcy;&acy;&tcy;&iecy;&mcy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; (&icy;&lcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&iecy; &lcy;&yucy;&bcy;&ucy;&yucy; &dcy;&rcy;&ucy;&gcy;&ucy;&yucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  Git , &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &dcy;&iecy;&lcy;&acy;&iecy;&tcy; &lcy;&yucy;&bcy;&ucy;&yucy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&ucy;&yucy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; &bcy;&iecy;&zcy; &scy;&scy;&ycy;&lcy;&kcy;&icy;) &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;, &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &mcy;&ocy;&gcy;&ucy;&tcy; &scy;&tcy;&acy;&tcy;&softcy; &ncy;&iecy;&ncy;&ucy;&zhcy;&ncy;&ycy;&mcy;&icy; (&icy;&lcy;&icy; &vcy;&icy;&scy;&iecy;&tcy;&softcy;). &Ecy;&tcy;&icy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &mcy;&ocy;&gcy;&ucy;&tcy; &bcy;&ycy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy; &ocy;&bcy;&ycy;&chcy;&ncy;&ycy;&mcy;&icy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&yacy;&mcy;&icy;  Git  (&tcy;&acy;&kcy;&icy;&mcy;&icy; &kcy;&acy;&kcy;  <code>git commit</code> ), &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&yucy;&tcy;  <code>git maintenance run --auto</code> . (&Scy;&mcy;.  <a href="git-maintenance.html">git-maintenance[1]</a> .) &IEcy;&scy;&lcy;&icy; &ecy;&tcy;&icy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy; &icy; &ncy;&acy; &ncy;&icy;&khcy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &tcy;&ocy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &scy;&tcy;&acy;&ncy;&iecy;&tcy; &pcy;&ocy;&vcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&ncy;&ycy;&mcy;.</span></p> <p><span data-i18n="cb2e921eefd36d01a1fa024d70c4c4f40efeb2f112f8bd50c49f3a6daf927f40/73" data-source="Note that running &lt;code&gt;git repack&lt;/code&gt; without the &lt;code&gt;--local&lt;/code&gt; option in a repository cloned with &lt;code&gt;--shared&lt;/code&gt; will copy objects from the source repository into a pack in the cloned repository, removing the disk space savings of &lt;code&gt;clone --shared&lt;/code&gt;. It is safe, however, to run &lt;code&gt;git gc&lt;/code&gt;, which uses the &lt;code&gt;--local&lt;/code&gt; option by default." onmousemove="i18n(this)">&Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;  <code>git repack</code>  &bcy;&iecy;&zcy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--local</code>  &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;, &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&mcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>--shared</code> , &pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy; &kcy;&ocy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yucy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &icy;&zcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &vcy; &pcy;&acy;&kcy;&iecy;&tcy; &vcy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;, &ucy;&scy;&tcy;&rcy;&acy;&ncy;&yacy;&yacy; &ecy;&kcy;&ocy;&ncy;&ocy;&mcy;&icy;&yucy; &dcy;&icy;&scy;&kcy;&ocy;&vcy;&ocy;&gcy;&ocy; &pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&scy;&tcy;&vcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &ocy;&bcy;&iecy;&scy;&pcy;&iecy;&chcy;&icy;&vcy;&acy;&iecy;&tcy;  <code>clone --shared</code> . &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ocy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&tcy;&softcy;  <code>git gc</code> , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--local</code> .</span></p> <p><span data-i18n="2f1c8f543b8ff4a156a6a435e53283c863e19e431e82ffe54937a3a8e038e5da/ec" data-source="If you want to break the dependency of a repository cloned with &lt;code&gt;--shared&lt;/code&gt; on its source repository, you can simply run &lt;code&gt;git repack -a&lt;/code&gt; to copy all objects from the source repository into a pack in the cloned repository." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &rcy;&acy;&zcy;&ocy;&rcy;&vcy;&acy;&tcy;&softcy; &zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy;&scy;&tcy;&softcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>--shared</code> , &ocy;&tcy; &iecy;&gcy;&ocy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy;  <code>git repack -a</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &scy;&kcy;&ocy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy;&scy;&iecy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &icy;&zcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &vcy; &pcy;&acy;&kcy;&iecy;&tcy; &vcy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---reference-if-ableltrepositorygt"><span data-i18n="0d630ce70fd007c75a309a59ce670dae56a17e8d71fbbd05d63555b1793cb5ea/ca" data-source="--reference[-if-able] &amp;lt;repository&amp;gt;" onmousemove="i18n(this)">--reference[-if-able] &lt;repository&gt;</span></dt> <dd> <p><span data-i18n="b375b49b24868e0b522876a5f9d907b194d8b41f996439da638aa3d092f81ef8/09" data-source="If the reference repository is on the local machine, automatically setup &lt;code&gt;.git/objects/info/alternates&lt;/code&gt; to obtain objects from the reference repository. Using an already existing repository as an alternate will require fewer objects to be copied from the repository being cloned, reducing network and local storage costs. When using the &lt;code&gt;--reference-if-able&lt;/code&gt;, a non existing directory is skipped with a warning instead of aborting the clone." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ecy;&tcy;&acy;&lcy;&ocy;&ncy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&acy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&mcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy;&iecy;, &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&tcy;&iecy;  <code>.git/objects/info/alternates</code>  &dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&yacy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &icy;&zcy; &ecy;&tcy;&acy;&lcy;&ocy;&ncy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;. &Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &ucy;&zhcy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ycy; &pcy;&ocy;&tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy; &kcy;&ocy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &mcy;&iecy;&ncy;&softcy;&shcy;&iecy;&gcy;&ocy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&acy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &icy;&zcy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&iecy;&mcy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &chcy;&tcy;&ocy; &scy;&ncy;&icy;&zhcy;&acy;&iecy;&tcy; &zcy;&acy;&tcy;&rcy;&acy;&tcy;&ycy; &ncy;&acy; &scy;&iecy;&tcy;&iecy;&vcy;&ocy;&iecy; &icy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&iecy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&iecy;. &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy;  <code>--reference-if-able</code>  &ncy;&iecy;&scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy;&scy;&yacy; &scy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&iecy;&mcy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &pcy;&rcy;&iecy;&rcy;&ycy;&vcy;&acy;&ncy;&icy;&yacy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;.</span></p> <p><span data-i18n="3485d15bfad844008d5b0badb44e23e73d7caec50419419631bed7dafffed700/22" data-source="&lt;strong&gt;NOTE&lt;/strong&gt;: see the NOTE for the &lt;code&gt;--shared&lt;/code&gt; option, and also the &lt;code&gt;--dissociate&lt;/code&gt; option." onmousemove="i18n(this)">&Pcy;&Rcy;&Icy;&Mcy;&IEcy;&CHcy;&Acy;&Ncy;&Icy;&IEcy;. &Scy;&mcy;. &Pcy;&Rcy;&Icy;&Mcy;&IEcy;&CHcy;&Acy;&Ncy;&Icy;&IEcy; &dcy;&lcy;&yacy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--shared</code> , &acy; &tcy;&acy;&kcy;&zhcy;&iecy; &dcy;&lcy;&yacy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--dissociate</code> .</span></p> </dd> <dt id="Documentation/git-clone.txt---dissociate"><span data-i18n="cc194fd778c1bb19f245fadaa2668b800f0daaef3219caf67ad98b090424f997/5b" data-source="--dissociate" onmousemove="i18n(this)">--dissociate</span></dt> <dd> <p><span data-i18n="e08feafbe8759481c49cb7f7e81f0d27d15f03ddb9b6136ef04e75367fc2b6e0/a6" data-source="Borrow the objects from reference repositories specified with the &lt;code&gt;--reference&lt;/code&gt; options only to reduce network transfer, and stop borrowing from them after a clone is made by making necessary local copies of borrowed objects. This option can also be used when cloning locally from a repository that already borrows objects from another repository&amp;mdash;&amp;ZeroWidthSpace;the new repository will borrow objects from the same repository, and this option can be used to stop the borrowing." onmousemove="i18n(this)">&Zcy;&acy;&icy;&mcy;&scy;&tcy;&vcy;&ucy;&jcy;&tcy;&iecy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &icy;&zcy; &ecy;&tcy;&acy;&lcy;&ocy;&ncy;&ncy;&ycy;&khcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&khcy; &vcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy;&khcy;  <code>--reference</code> , &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&lcy;&yacy; &ucy;&mcy;&iecy;&ncy;&softcy;&shcy;&iecy;&ncy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&icy; &pcy;&ocy; &scy;&iecy;&tcy;&icy; &icy; &pcy;&rcy;&iecy;&kcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &zcy;&acy;&icy;&mcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &icy;&zcy; &ncy;&icy;&khcy; &pcy;&ocy;&scy;&lcy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &kcy;&lcy;&ocy;&ncy;&acy;, &scy;&ocy;&zcy;&dcy;&acy;&vcy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ycy;&iecy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &kcy;&ocy;&pcy;&icy;&icy; &zcy;&acy;&icy;&mcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;. &Ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy; &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&rcy;&icy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&mcy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &icy;&zcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ucy;&zhcy;&iecy; &zcy;&acy;&icy;&mcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &icy;&zcy; &dcy;&rcy;&ucy;&gcy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &mdash; &ncy;&ocy;&vcy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &bcy;&ucy;&dcy;&iecy;&tcy; &zcy;&acy;&icy;&mcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &icy;&zcy; &tcy;&ocy;&gcy;&ocy; &zhcy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &icy; &ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &ocy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&kcy;&icy; &zcy;&acy;&icy;&mcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-clone.txt--q"><span data-i18n="5ce681666a15a41274346f65b8bcbf56f8e8170ac00706a44a09ee4d786a8609/cd" data-source="-q" onmousemove="i18n(this)">-q</span></dt> <dt id="Documentation/git-clone.txt---quiet"><span data-i18n="b00818cdc507640687732769ee1cb501db377927ee76d03df23978bd0d706888/e2" data-source="--quiet" onmousemove="i18n(this)">--quiet</span></dt> <dd> <p><span data-i18n="a3f0f09f6fe18536c8947b65643a62668c2cf91ef10ff2e321a7e87597af8c1e/21" data-source="Operate quietly. Progress is not reported to the standard error stream." onmousemove="i18n(this)">&Rcy;&acy;&bcy;&ocy;&tcy;&acy;&jcy;&tcy;&iecy; &tcy;&icy;&khcy;&ocy;. &Ocy; &khcy;&ocy;&dcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy; &ncy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&jcy; &pcy;&ocy;&tcy;&ocy;&kcy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy;.</span></p> </dd> <dt id="Documentation/git-clone.txt--v"><span data-i18n="81c36ccd44ef18baabad6e2d87038b72d606263bd6a3432b964a872023654fff/7c" data-source="-v" onmousemove="i18n(this)">-v</span></dt> <dt id="Documentation/git-clone.txt---verbose"><span data-i18n="bff1e8d3adf9e53481e9b21876983b359dc8a231bf7ebadde36a42dd7bd4db5c/93" data-source="--verbose" onmousemove="i18n(this)">--verbose</span></dt> <dd> <p><span data-i18n="1ec5ca07c805107c54a9e5fac54f48119c51b8839325c5b38c05e9f87c7f7968/6d" data-source="Run verbosely. Does not affect the reporting of progress status to the standard error stream." onmousemove="i18n(this)">&Bcy;&iecy;&gcy;&icy;&tcy;&iecy; &mcy;&ncy;&ocy;&gcy;&ocy;&scy;&lcy;&ocy;&vcy;&ncy;&ocy;. &Ncy;&iecy; &vcy;&lcy;&icy;&yacy;&iecy;&tcy; &ncy;&acy; &ocy;&tcy;&chcy;&iecy;&tcy; &ocy; &scy;&tcy;&acy;&tcy;&ucy;&scy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ocy;&mcy; &pcy;&ocy;&tcy;&ocy;&kcy;&iecy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---progress"><span data-i18n="c4d85ead394fc39f65f473a99058ad8fe951b5cd8d8dacc9e82d90e36b6430ea/a2" data-source="--progress" onmousemove="i18n(this)">--progress</span></dt> <dd> <p><span data-i18n="0854a2f935ec74647b0137f4646decf6d6614311b50f4a5e8a70e13ccad2dffd/cf" data-source="Progress status is reported on the standard error stream by default when it is attached to a terminal, unless &lt;code&gt;--quiet&lt;/code&gt; is specified. This flag forces progress status even if the standard error stream is not directed to a terminal." onmousemove="i18n(this)">&Scy;&tcy;&acy;&tcy;&ucy;&scy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ocy;&mcy; &pcy;&ocy;&tcy;&ocy;&kcy;&iecy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy;, &kcy;&ocy;&gcy;&dcy;&acy; &ocy;&ncy; &pcy;&ocy;&dcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy; &kcy; &tcy;&iecy;&rcy;&mcy;&icy;&ncy;&acy;&lcy;&ucy;, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>--quiet</code> . &Ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy; &ocy;&bcy;&iecy;&scy;&pcy;&iecy;&chcy;&icy;&vcy;&acy;&iecy;&tcy; &scy;&tcy;&acy;&tcy;&ucy;&scy; &khcy;&ocy;&dcy;&acy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy;, &dcy;&acy;&zhcy;&iecy; &iecy;&scy;&lcy;&icy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&jcy; &pcy;&ocy;&tcy;&ocy;&kcy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy; &ncy;&iecy; &ncy;&acy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ncy;&acy; &tcy;&iecy;&rcy;&mcy;&icy;&ncy;&acy;&lcy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---server-optionltoptiongt"><span data-i18n="dce655fcd4a086447f73d2c7d2a23522deac05cb7d9a1c4fbcfcf476fe5b8c5d/fb" data-source="--server-option=&amp;lt;option&amp;gt;" onmousemove="i18n(this)">--server-option=&lt;option&gt;</span></dt> <dd> <p><span data-i18n="de128a536cff169b3f0ed90dda3ee0d479a00d5515e8c80e65cc4b97a0af6744/95" data-source="Transmit the given string to the server when communicating using protocol version 2. The given string must not contain a NUL or LF character. The server&amp;rsquo;s handling of server options, including unknown ones, is server-specific. When multiple &lt;code&gt;--server-option=&amp;lt;option&amp;gt;&lt;/code&gt; are given, they are all sent to the other side in the order listed on the command line." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&dcy;&acy;&jcy;&tcy;&iecy; &dcy;&acy;&ncy;&ncy;&ucy;&yucy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy; &ncy;&acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy; &pcy;&rcy;&icy; &ocy;&bcy;&mcy;&iecy;&ncy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&mcy;&icy; &pcy;&ocy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&ucy; &vcy;&iecy;&rcy;&scy;&icy;&icy; 2. &Dcy;&acy;&ncy;&ncy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &ncy;&iecy; &dcy;&ocy;&lcy;&zhcy;&ncy;&acy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy;&softcy; &scy;&icy;&mcy;&vcy;&ocy;&lcy; NUL &icy;&lcy;&icy; LF. &Ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ocy;&mcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ocy;&vcy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&acy;, &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy; &ncy;&iecy;&icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&ycy;&iecy;, &zcy;&acy;&vcy;&icy;&scy;&icy;&tcy; &ocy;&tcy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&acy;. &IEcy;&scy;&lcy;&icy; &zcy;&acy;&dcy;&acy;&ncy;&ocy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy;  <code>--server-option=&lt;option&gt;</code> , &vcy;&scy;&iecy; &ocy;&ncy;&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy; &vcy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&iecy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&mcy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-clone.txt--n"><span data-i18n="5249f4fcc629efa0e6d6b2bf746b6c5de61611ce719ad61ac820fbe5c8cece66/28" data-source="-n" onmousemove="i18n(this)">-n</span></dt> <dt id="Documentation/git-clone.txt---no-checkout"><span data-i18n="1a2ff9e2d8ba513424dbe1bfa0e90be70d841b3d5856d9c1d8f0861d48c8b74e/e6" data-source="--no-checkout" onmousemove="i18n(this)">--no-checkout</span></dt> <dd> <p><span data-i18n="0a70afb7b491457456ccb93eb952882a9a9fd2c0a07863ae2403964605e846c9/2b" data-source="No checkout of HEAD is performed after the clone is complete." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&lcy;&iecy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&icy;&yacy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&acy; HEAD &ncy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---no-reject-shallow"><span data-i18n="d4e2a741e89fa100f63b1d096b17dfe0c7381df9c0972b918c936844ca447817/5f" data-source="--[no-]reject-shallow" onmousemove="i18n(this)">--[no-]reject-shallow</span></dt> <dd> <p><span data-i18n="472248e9009f9820f4434d8f13279d323db366d14006e60a65d4561d992aa049/fd" data-source="Fail if the source repository is a shallow repository. The &lt;code&gt;clone.rejectShallow&lt;/code&gt; configuration variable can be used to specify the default." onmousemove="i18n(this)">&Ocy;&shcy;&icy;&bcy;&kcy;&acy;, &iecy;&scy;&lcy;&icy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&gcy;&lcy;&ucy;&bcy;&ocy;&kcy;&icy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&mcy;. &Pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>clone.rejectShallow</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&yacy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---bare"><span data-i18n="cb1abf99e72ab1f9e258a96d3fe192cdbb16d2ded8d3d0c09c60d56fe19ca4fa/d8" data-source="--bare" onmousemove="i18n(this)">--bare</span></dt> <dd> <p><span data-i18n="9d0509250eb8f620bb3093368d02db3f6a2add8f545267b1493e3aef02add1e2/1f" data-source="Make a &lt;code&gt;bare&lt;/code&gt; Git repository. That is, instead of creating &lt;code&gt;&amp;lt;directory&amp;gt;&lt;/code&gt; and placing the administrative files in &lt;code&gt;&amp;lt;directory&amp;gt;/.git&lt;/code&gt;, make the &lt;code&gt;&amp;lt;directory&amp;gt;&lt;/code&gt; itself the &lt;code&gt;$GIT_DIR&lt;/code&gt;. This obviously implies the &lt;code&gt;--no-checkout&lt;/code&gt; because there is nowhere to check out the working tree. Also the branch heads at the remote are copied directly to corresponding local branch heads, without mapping them to &lt;code&gt;refs/remotes/origin/&lt;/code&gt;. When this option is used, neither remote-tracking branches nor the related configuration variables are created." onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  <code>bare</code>   Git . &Tcy;&ocy; &iecy;&scy;&tcy;&softcy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &scy;&ocy;&zcy;&dcy;&acy;&vcy;&acy;&tcy;&softcy;  <code>&lt;directory&gt;</code>  &icy; &pcy;&ocy;&mcy;&iecy;&shchcy;&acy;&tcy;&softcy; &acy;&dcy;&mcy;&icy;&ncy;&icy;&scy;&tcy;&rcy;&acy;&tcy;&icy;&vcy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy;  <code>&lt;directory&gt;/.git</code> , &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &scy;&acy;&mcy;  <code>&lt;directory&gt;</code> <code>$GIT_DIR</code> . &Ocy;&chcy;&iecy;&vcy;&icy;&dcy;&ncy;&ocy;, &icy;&mcy;&iecy;&iecy;&tcy;&scy;&yacy; &vcy; &vcy;&icy;&dcy;&ucy;  <code>--no-checkout</code> , &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &ncy;&iecy;&gcy;&dcy;&iecy;. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &zcy;&acy;&gcy;&ocy;&lcy;&ocy;&vcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &kcy;&ocy;&pcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &ncy;&iecy;&pcy;&ocy;&scy;&rcy;&iecy;&dcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ocy; &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &zcy;&acy;&gcy;&ocy;&lcy;&ocy;&vcy;&kcy;&icy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;, &bcy;&iecy;&zcy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &icy;&khcy; &scy;  <code>refs/remotes/origin/</code> . &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &ncy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&yucy;&tcy;&scy;&yacy; &ncy;&icy; &vcy;&iecy;&tcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;, &ncy;&icy; &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&iecy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---sparse"><span data-i18n="772e33e8b03937db3998ff9e8cd7b8114d1c7f3398436b3f057422d62afb165a/f4" data-source="--sparse" onmousemove="i18n(this)">--sparse</span></dt> <dd> <p><span data-i18n="e15cc60586ce4fd5796239881c7f5c49b6352c4aea1eb623dd4b29731477c9ab/9d" data-source="Employ a sparse-checkout, with only files in the toplevel directory initially being present. The &lt;a href=&quot;git-sparse-checkout&quot;&gt;git-sparse-checkout[1]&lt;/a&gt; command can be used to grow the working directory as needed." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&zhcy;&iecy;&ncy;&ncy;&ucy;&yucy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&ucy;, &pcy;&rcy;&icy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &icy;&zcy;&ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&ocy; &pcy;&rcy;&icy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy; &vcy;&iecy;&rcy;&khcy;&ncy;&iecy;&gcy;&ocy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy;. &Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  <a href="git-sparse-checkout.html">git-sparse-checkout[1]</a>  &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &ucy;&vcy;&iecy;&lcy;&icy;&chcy;&iecy;&ncy;&icy;&yacy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &pcy;&ocy; &mcy;&iecy;&rcy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&scy;&tcy;&icy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---filterltfilter-specgt"><span data-i18n="3ef5ff6926562052046d273aae42700c4824af93ed582f52b5512448d785977b/3a" data-source="--filter=&amp;lt;filter-spec&amp;gt;" onmousemove="i18n(this)">--filter=&lt;filter-spec&gt;</span></dt> <dd> <p><span data-i18n="0f3335453b8a38ef7f6265fa4b581d63400ffef015d0624808e9d957548f2f21/16" data-source="Use the partial clone feature and request that the server sends a subset of reachable objects according to a given object filter. When using &lt;code&gt;--filter&lt;/code&gt;, the supplied &lt;code&gt;&amp;lt;filter-spec&amp;gt;&lt;/code&gt; is used for the partial clone filter. For example, &lt;code&gt;--filter=blob:none&lt;/code&gt; will filter out all blobs (file contents) until needed by Git. Also, &lt;code&gt;--filter=blob:limit=&amp;lt;size&amp;gt;&lt;/code&gt; will filter out all blobs of size at least &lt;code&gt;&amp;lt;size&amp;gt;&lt;/code&gt;. For more details on filter specifications, see the &lt;code&gt;--filter&lt;/code&gt; option in &lt;a href=&quot;git-rev-list&quot;&gt;git-rev-list[1]&lt;/a&gt;." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&yucy; &chcy;&acy;&scy;&tcy;&icy;&chcy;&ncy;&ocy;&gcy;&ocy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy; &zcy;&acy;&pcy;&rcy;&ocy;&scy;&icy;&tcy;&iecy;, &chcy;&tcy;&ocy;&bcy;&ycy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&lcy; &pcy;&ocy;&dcy;&mcy;&ncy;&ocy;&zhcy;&iecy;&scy;&tcy;&vcy;&ocy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&icy;&icy; &scy; &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ycy;&mcy; &fcy;&icy;&lcy;&softcy;&tcy;&rcy;&ocy;&mcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;. &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy;  <code>--filter</code>  &vcy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&jcy; &vcy; &kcy;&ocy;&mcy;&pcy;&lcy;&iecy;&kcy;&tcy; &pcy;&ocy;&scy;&tcy;&acy;&vcy;&kcy;&icy;  <code>&lt;filter-spec&gt;</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &fcy;&icy;&lcy;&softcy;&tcy;&rcy;&acy; &chcy;&acy;&scy;&tcy;&icy;&chcy;&ncy;&ocy;&gcy;&ocy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>--filter=blob:none</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &ocy;&tcy;&fcy;&icy;&lcy;&softcy;&tcy;&rcy;&ocy;&vcy;&ycy;&vcy;&acy;&tcy;&softcy; &vcy;&scy;&iecy; BLOB-&ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; (&scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &fcy;&acy;&jcy;&lcy;&acy;), &pcy;&ocy;&kcy;&acy; &ocy;&ncy;&icy; &ncy;&iecy; &pcy;&ocy;&ncy;&acy;&dcy;&ocy;&bcy;&yacy;&tcy;&scy;&yacy; Git. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;,  <code>--filter=blob:limit=&lt;size&gt;</code>  &ocy;&tcy;&fcy;&icy;&lcy;&softcy;&tcy;&rcy;&ucy;&iecy;&tcy; &vcy;&scy;&iecy; &kcy;&acy;&pcy;&lcy;&icy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;&ocy;&mcy; &ncy;&iecy; &ncy;&icy;&zhcy;&iecy;  <code>&lt;size&gt;</code> . &Bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &ocy; &khcy;&acy;&rcy;&acy;&kcy;&tcy;&iecy;&rcy;&icy;&scy;&tcy;&icy;&kcy;&acy;&khcy; &fcy;&icy;&lcy;&softcy;&tcy;&rcy;&acy; &scy;&mcy;. &vcy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--filter</code>  &vcy;  <a href="git-rev-list.html">git-rev-list[1]</a> .</span></p> </dd> <dt id="Documentation/git-clone.txt---also-filter-submodules"><span data-i18n="66275d9a0f80aaa54eb2d20ab2a734a3609ea5a63a002782df457a47090852df/0b" data-source="--also-filter-submodules" onmousemove="i18n(this)">--also-filter-submodules</span></dt> <dd> <p><span data-i18n="cc42f02f3cc21b7e8dc0cb34eca1befdb7c753c4986c449da37489beec6268a5/3f" data-source="Also apply the partial clone filter to any submodules in the repository. Requires &lt;code&gt;--filter&lt;/code&gt; and &lt;code&gt;--recurse-submodules&lt;/code&gt;. This can be turned on by default by setting the &lt;code&gt;clone.filterSubmodules&lt;/code&gt; config option." onmousemove="i18n(this)">&Tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &fcy;&icy;&lcy;&softcy;&tcy;&rcy; &chcy;&acy;&scy;&tcy;&icy;&chcy;&ncy;&ocy;&gcy;&ocy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &kcy;&ocy; &vcy;&scy;&iecy;&mcy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&yacy;&mcy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;. &Tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>--filter</code>  &icy;  <code>--recurse-submodules</code> . &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&vcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>clone.filterSubmodules</code> .</span></p> </dd> <dt id="Documentation/git-clone.txt---mirror"><span data-i18n="b3cc6a50527e8f8a04e46679bbb85b8c05b6c92c45dfa4f06930089e62f9b384/5c" data-source="--mirror" onmousemove="i18n(this)">--mirror</span></dt> <dd> <p><span data-i18n="eb0ac72d4bba45a8f0138b7452b7b4e30c454dc7f44d9517b44340780902ed50/65" data-source="Set up a mirror of the source repository. This implies &lt;code&gt;--bare&lt;/code&gt;. Compared to &lt;code&gt;--bare&lt;/code&gt;, &lt;code&gt;--mirror&lt;/code&gt; not only maps local branches of the source to local branches of the target, it maps all refs (including remote-tracking branches, notes etc.) and sets up a refspec configuration such that all these refs are overwritten by a &lt;code&gt;git remote update&lt;/code&gt; in the target repository." onmousemove="i18n(this)">&Ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&tcy;&iecy; &zcy;&iecy;&rcy;&kcy;&acy;&lcy;&ocy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;  <code>--bare</code> . &Pcy;&ocy; &scy;&rcy;&acy;&vcy;&ncy;&iecy;&ncy;&icy;&yucy; &scy;  <code>--bare</code> ,  <code>--mirror</code>  &ncy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &icy;&scy;&tcy;&ocy;&chcy;&ncy;&icy;&kcy;&acy; &scy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&mcy;&icy; &vcy;&iecy;&tcy;&vcy;&yacy;&mcy;&icy; &tscy;&iecy;&lcy;&icy;, &ocy;&ncy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &vcy;&scy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; (&vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy; &vcy;&iecy;&tcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;, &zcy;&acy;&mcy;&iecy;&tcy;&kcy;&icy; &icy; &tcy;.&nbsp;&dcy;.) &icy; &ucy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&iecy;&tcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&yucy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&icy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;, &pcy;&rcy;&icy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &vcy;&scy;&iecy; &ecy;&tcy;&icy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy;  <code>git remote update</code>  &vcy; &tscy;&iecy;&lcy;&iecy;&vcy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-clone.txt--oltnamegt"><span data-i18n="9bed91978677c4f107d07933a6f33e3414e95ee91d54e480a9247748c7451231/b0" data-source="-o &amp;lt;name&amp;gt;" onmousemove="i18n(this)">-o &lt;name&gt;</span></dt> <dt id="Documentation/git-clone.txt---originltnamegt"><span data-i18n="2fa55bb4715af84288396dc85c326935b9058dfd377721c0053b019d48e0045b/85" data-source="--origin &amp;lt;name&amp;gt;" onmousemove="i18n(this)">--origin &lt;name&gt;</span></dt> <dd> <p><span data-i18n="cfdb4b418587c7881ff2f72cc755dfe22d1b8de6abf5589429a0ec92ec5a7a60/18" data-source="Instead of using the remote name &lt;code&gt;origin&lt;/code&gt; to keep track of the upstream repository, use &lt;code&gt;&amp;lt;name&amp;gt;&lt;/code&gt;. Overrides &lt;code&gt;clone.defaultRemoteName&lt;/code&gt; from the config." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &icy;&mcy;&iecy;&ncy;&icy;  <code>origin</code>  &dcy;&lcy;&yacy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <code>&lt;name&gt;</code> . &Pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy;  <code>clone.defaultRemoteName</code>  &icy;&zcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-clone.txt--bltnamegt"><span data-i18n="cee0f86a3d1aea426daf39f9147d985070b9c043b98802a23cc6838e96ce89ae/e9" data-source="-b &amp;lt;name&amp;gt;" onmousemove="i18n(this)">-b &lt;name&gt;</span></dt> <dt id="Documentation/git-clone.txt---branchltnamegt"><span data-i18n="224cd525d61794717487b719fdb9676e38e57ced86cb1472d3cfe41cba6bf9fb/06" data-source="--branch &amp;lt;name&amp;gt;" onmousemove="i18n(this)">--branch &lt;name&gt;</span></dt> <dd> <p><span data-i18n="44a4ae0353adad49f6beee91019a282a1c6cfd71e3ae7c46f0de67e23f06e4e9/34" data-source="Instead of pointing the newly created HEAD to the branch pointed to by the cloned repository&amp;rsquo;s HEAD, point to &lt;code&gt;&amp;lt;name&amp;gt;&lt;/code&gt; branch instead. In a non-bare repository, this is the branch that will be checked out. &lt;code&gt;--branch&lt;/code&gt; can also take tags and detaches the HEAD at that commit in the resulting repository." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&tcy;&softcy; &vcy;&ncy;&ocy;&vcy;&softcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ncy;&ycy;&jcy; HEAD &ncy;&acy; &vcy;&iecy;&tcy;&kcy;&ucy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; HEAD &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &ucy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy; &ncy;&acy; &vcy;&iecy;&tcy;&kcy;&ucy;  <code>&lt;name&gt;</code> . &Vcy; &ncy;&iecy;&pcy;&ucy;&scy;&tcy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy; &ecy;&tcy;&acy; &vcy;&iecy;&tcy;&kcy;&acy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&acy;.  <code>--branch</code>  &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&tcy;&softcy; &tcy;&iecy;&gcy;&icy; &icy; &ocy;&tcy;&scy;&ocy;&iecy;&dcy;&icy;&ncy;&yacy;&tcy;&softcy; HEAD &pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&iecy; &vcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&icy;&rcy;&ucy;&yucy;&shchcy;&iecy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-clone.txt--ultupload-packgt"><span data-i18n="59e7ecebf5559757fc9b606154c8f7993a343c3d104b7a9763230835a451d200/ad" data-source="-u &amp;lt;upload-pack&amp;gt;" onmousemove="i18n(this)">-u &lt;upload-pack&gt;</span></dt> <dt id="Documentation/git-clone.txt---upload-packltupload-packgt"><span data-i18n="1ba3840da2062ea8eb781798dabf385556016c930e49991ec0bf8ce427bdbce1/65" data-source="--upload-pack &amp;lt;upload-pack&amp;gt;" onmousemove="i18n(this)">--upload-pack &lt;upload-pack&gt;</span></dt> <dd> <p><span data-i18n="2a641c2a862ca16f3d354e38baad174046359ac27ba20583d11027ea2834fc47/7b" data-source="When given, and the repository to clone from is accessed via ssh, this specifies a non-default path for the command run on the other end." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &zcy;&acy;&dcy;&acy;&ncy; &icy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy; &kcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy; &dcy;&lcy;&yacy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &ocy;&scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &chcy;&iecy;&rcy;&iecy;&zcy; ssh, &ecy;&tcy;&ocy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &ncy;&iecy;&scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&jcy; &pcy;&ucy;&tcy;&softcy; &dcy;&lcy;&yacy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;, &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&mcy;&ocy;&jcy; &ncy;&acy; &dcy;&rcy;&ucy;&gcy;&ocy;&mcy; &kcy;&ocy;&ncy;&tscy;&iecy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---templatelttemplate-directorygt"><span data-i18n="ba5820ca4d308030a2d07932b6f609b11706127cd656ea659466560984db0d5f/51" data-source="--template=&amp;lt;template-directory&amp;gt;" onmousemove="i18n(this)">--template=&lt;template-directory&gt;</span></dt> <dd> <p><span data-i18n="ca32ce0bf1dc40144174f35f3db11d20c7c6f8669d1b230ef2a34b3009f3e25f/b8" data-source="Specify the directory from which templates will be used; (See the &amp;quot;TEMPLATE DIRECTORY&amp;quot; section of &lt;a href=&quot;git-init&quot;&gt;git-init[1]&lt;/a&gt;.)" onmousemove="i18n(this)">&Ucy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;, &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy;; (&Scy;&mcy;. &rcy;&acy;&zcy;&dcy;&iecy;&lcy;  &quot;TEMPLATE DIRECTORY&quot;  &vcy;  <a href="git-init.html">git-init[1]</a> .)</span></p> </dd> <dt id="Documentation/git-clone.txt--cltkeygtltvaluegt"><span data-i18n="1a19aff72e6f31afa5e2dd05d4a82095058dee35a8d57517f764001aa2ec870b/6d" data-source="-c &amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;" onmousemove="i18n(this)">-c &lt;key&gt;=&lt;value&gt;</span></dt> <dt id="Documentation/git-clone.txt---configltkeygtltvaluegt"><span data-i18n="59d1a4e5a8d04a3736e23757f24184d717bb010e3ed1acecfbcd73c94c75a36d/7a" data-source="--config &amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;" onmousemove="i18n(this)">--config &lt;key&gt;=&lt;value&gt;</span></dt> <dd> <p><span data-i18n="b0410f452f4a184ba625574227cd686b0dcdccb465bf18189cfe44e2aa3c5799/d7" data-source="Set a configuration variable in the newly-created repository; this takes effect immediately after the repository is initialized, but before the remote history is fetched or any files checked out. The key is in the same format as expected by &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; (e.g., &lt;code&gt;core.eol=true&lt;/code&gt;). If multiple values are given for the same key, each value will be written to the config file. This makes it safe, for example, to add additional fetch refspecs to the origin remote." onmousemove="i18n(this)">&Ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &vcy;&ocy; &vcy;&ncy;&ocy;&vcy;&softcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;; &ecy;&tcy;&ocy; &vcy;&scy;&tcy;&ucy;&pcy;&acy;&iecy;&tcy; &vcy; &scy;&icy;&lcy;&ucy; &scy;&rcy;&acy;&zcy;&ucy; &pcy;&ocy;&scy;&lcy;&iecy; &icy;&ncy;&icy;&tscy;&icy;&acy;&lcy;&icy;&zcy;&acy;&tscy;&icy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &ncy;&ocy; &dcy;&ocy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&yacy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &icy;&lcy;&icy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&yacy; &kcy;&acy;&kcy;&icy;&khcy;-&lcy;&icy;&bcy;&ocy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;. &Kcy;&lcy;&yucy;&chcy; &icy;&mcy;&iecy;&iecy;&tcy; &tcy;&ocy;&tcy; &zhcy;&iecy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;, &chcy;&tcy;&ocy; &icy;  <a href="git-config.html">git-config[1]</a>  (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>core.eol=true</code> ). &IEcy;&scy;&lcy;&icy; &dcy;&lcy;&yacy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &icy; &tcy;&ocy;&gcy;&ocy; &zhcy;&iecy; &kcy;&lcy;&yucy;&chcy;&acy; &zcy;&acy;&dcy;&acy;&ncy;&ocy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&jcy;, &kcy;&acy;&zhcy;&dcy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ocy; &vcy; &fcy;&acy;&jcy;&lcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;. &Ecy;&tcy;&ocy; &dcy;&iecy;&lcy;&acy;&iecy;&tcy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ycy;&mcy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&khcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy; &ncy;&acy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&ucy; &kcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy;&ucy; &icy;&scy;&tcy;&ocy;&chcy;&ncy;&icy;&kcy;&ucy;.</span></p> <p><span data-i18n="9d6b300ac0791772409a44f52411dbad77886033b4a5ab2c54dadfec95a14a1c/25" data-source="Due to limitations of the current implementation, some configuration variables do not take effect until after the initial fetch and checkout. Configuration variables known to not take effect are: &lt;code&gt;remote.&amp;lt;name&amp;gt;.mirror&lt;/code&gt; and &lt;code&gt;remote.&amp;lt;name&amp;gt;.tagOpt&lt;/code&gt;. Use the corresponding &lt;code&gt;--mirror&lt;/code&gt; and &lt;code&gt;--no-tags&lt;/code&gt; options instead." onmousemove="i18n(this)">&Icy;&zcy;-&zcy;&acy; &ocy;&gcy;&rcy;&acy;&ncy;&icy;&chcy;&iecy;&ncy;&icy;&jcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &rcy;&iecy;&acy;&lcy;&icy;&zcy;&acy;&tscy;&icy;&icy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &vcy;&scy;&tcy;&ucy;&pcy;&acy;&yucy;&tcy; &vcy; &scy;&icy;&lcy;&ucy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&iecy;&rcy;&vcy;&ocy;&ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&icy; &icy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&yacy;. &Icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&ocy;, &chcy;&tcy;&ocy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &ncy;&iecy; &vcy;&scy;&tcy;&ucy;&pcy;&acy;&yucy;&tcy; &vcy; &scy;&icy;&lcy;&ucy;:  <code>remote.&lt;name&gt;.mirror</code>  &icy;  <code>remote.&lt;name&gt;.tagOpt</code> . &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--mirror</code>  &icy;  <code>--no-tags</code> .</span></p> </dd> <dt id="Documentation/git-clone.txt---depthltdepthgt"><span data-i18n="3f772b9bd444f032ce3eef8a1481c0a8417e18b09c266d5b7a6dd46ef3860cb7/e1" data-source="--depth &amp;lt;depth&amp;gt;" onmousemove="i18n(this)">--depth &lt;depth&gt;</span></dt> <dd> <p><span data-i18n="b6fd44cde5fb5859bd1d95a2b703c6853f94a17bdb989e782f08c24ce8c13c59/39" data-source="Create a &lt;code&gt;shallow&lt;/code&gt; clone with a history truncated to the specified number of commits. Implies &lt;code&gt;--single-branch&lt;/code&gt; unless &lt;code&gt;--no-single-branch&lt;/code&gt; is given to fetch the histories near the tips of all branches. If you want to clone submodules shallowly, also pass &lt;code&gt;--shallow-submodules&lt;/code&gt;." onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &kcy;&lcy;&ocy;&ncy;  <code>shallow</code>  &scy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&iecy;&jcy;, &ucy;&scy;&iecy;&chcy;&iecy;&ncy;&ncy;&ocy;&jcy; &dcy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&acy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;. &Pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;  <code>--single-branch</code> , &iecy;&scy;&lcy;&icy; &ncy;&iecy; &zcy;&acy;&dcy;&acy;&ncy;  <code>--no-single-branch</code>  &dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&yacy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &vcy;&bcy;&lcy;&icy;&zcy;&icy; &kcy;&ocy;&ncy;&chcy;&icy;&kcy;&ocy;&vcy; &vcy;&scy;&iecy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;. &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy;&ncy;&ocy;&scy;&tcy;&ncy;&ocy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&icy;, &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&jcy;&tcy;&iecy;  <code>--shallow-submodules</code> .</span></p> </dd> <dt id="Documentation/git-clone.txt---shallow-sinceltdategt"><span data-i18n="84686689a0e33b49490781c72374bf1fcda765c235cee81a142368a478008df5/75" data-source="--shallow-since=&amp;lt;date&amp;gt;" onmousemove="i18n(this)">--shallow-since=&lt;date&gt;</span></dt> <dd> <p><span data-i18n="204380115f76964e31abaefffb9f316ef4228358cd664408583eedda1a941a3b/83" data-source="Create a shallow clone with a history after the specified time." onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy;&ncy;&ocy;&scy;&tcy;&ncy;&ycy;&jcy; &kcy;&lcy;&ocy;&ncy; &scy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&iecy;&jcy; &pcy;&ocy;&scy;&lcy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&icy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---shallow-excludeltrevisiongt"><span data-i18n="8cca75478a04ca1d721f0bb2db7fa4f471c8ef87be332dca391d8956faa68822/7f" data-source="--shallow-exclude=&amp;lt;revision&amp;gt;" onmousemove="i18n(this)">--shallow-exclude=&lt;revision&gt;</span></dt> <dd> <p><span data-i18n="cad377d086c0f9cf8daf150d9282de2e03e86e81186d384d31e907bfbcd9c254/5e" data-source="Create a shallow clone with a history, excluding commits reachable from a specified remote branch or tag. This option can be specified multiple times." onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy;&ncy;&ocy;&scy;&tcy;&ncy;&ycy;&jcy; &kcy;&lcy;&ocy;&ncy; &scy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&iecy;&jcy;, &icy;&scy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy;&iecy; &icy;&zcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&jcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &icy;&lcy;&icy; &tcy;&iecy;&gcy;&acy;. &Ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &rcy;&acy;&zcy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---no-single-branch"><span data-i18n="d5585cd91843ae936b12ac66eb9bdbaf4028e11c7f3ac637eec89fd7f27ce478/59" data-source="--[no-]single-branch" onmousemove="i18n(this)">--[no-]single-branch</span></dt> <dd> <p><span data-i18n="449e6d079766ad442df5c81581650a8c80683c7da8709e2dc28afb43009a2b20/64" data-source="Clone only the history leading to the tip of a single branch, either specified by the &lt;code&gt;--branch&lt;/code&gt; option or the primary branch remote&amp;rsquo;s &lt;code&gt;HEAD&lt;/code&gt; points at. Further fetches into the resulting repository will only update the remote-tracking branch for the branch this option was used for the initial cloning. If the HEAD at the remote did not point at any branch when &lt;code&gt;--single-branch&lt;/code&gt; clone was made, no remote-tracking branch is created." onmousemove="i18n(this)">&Kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy;, &vcy;&iecy;&dcy;&ucy;&shchcy;&ucy;&yucy; &kcy; &vcy;&iecy;&rcy;&shcy;&icy;&ncy;&iecy; &ocy;&dcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&jcy; &lcy;&icy;&bcy;&ocy; &ocy;&pcy;&tscy;&icy;&iecy;&jcy;  <code>--branch</code> , &lcy;&icy;&bcy;&ocy; &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;  <code>HEAD</code>  &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;. &Dcy;&acy;&lcy;&softcy;&ncy;&iecy;&jcy;&shcy;&icy;&iecy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&icy; &vcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&icy;&rcy;&ucy;&yucy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy;&iecy;&tcy;&kcy;&ucy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &dcy;&lcy;&yacy; &tcy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&lcy;&acy;&scy;&softcy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&vcy;&ocy;&ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &IEcy;&scy;&lcy;&icy; HEAD &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy;&iecy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&lcy; &ncy;&icy; &ncy;&acy; &ocy;&dcy;&ncy;&ucy; &vcy;&iecy;&tcy;&kcy;&ucy; &pcy;&rcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&icy; &kcy;&lcy;&ocy;&ncy;&acy;  <code>--single-branch</code> , &vcy;&iecy;&tcy;&kcy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &ncy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---no-tags"><span data-i18n="de40899bd4111e741666dad2565a03222958eb629da88c5c6b287bc6b70d1c80/55" data-source="--no-tags" onmousemove="i18n(this)">--no-tags</span></dt> <dd> <p><span data-i18n="93a8485cb0717d073415ea7a49268e275749442d0dec37b17ebbc2a8b09da012/72" data-source="Don&amp;rsquo;t clone any tags, and set &lt;code&gt;remote.&amp;lt;remote&amp;gt;.tagOpt=--no-tags&lt;/code&gt; in the config, ensuring that future &lt;code&gt;git pull&lt;/code&gt; and &lt;code&gt;git fetch&lt;/code&gt; operations won&amp;rsquo;t follow any tags. Subsequent explicit tag fetches will still work, (see &lt;a href=&quot;git-fetch&quot;&gt;git-fetch[1]&lt;/a&gt;)." onmousemove="i18n(this)">&Ncy;&iecy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &ncy;&icy;&kcy;&acy;&kcy;&icy;&iecy; &tcy;&iecy;&gcy;&icy; &icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy;  <code>remote.&lt;remote&gt;.tagOpt=--no-tags</code>  &vcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;, &chcy;&tcy;&ocy;&bcy;&ycy; &bcy;&ucy;&dcy;&ucy;&shchcy;&icy;&iecy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy;  <code>git pull</code>  &icy;  <code>git fetch</code>  &ncy;&iecy; &scy;&lcy;&iecy;&dcy;&ocy;&vcy;&acy;&lcy;&icy; &ncy;&icy;&kcy;&acy;&kcy;&icy;&mcy; &tcy;&iecy;&gcy;&acy;&mcy;. &Pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &yacy;&vcy;&ncy;&ycy;&iecy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&icy; &tcy;&iecy;&gcy;&ocy;&vcy; &pcy;&ocy;-&pcy;&rcy;&iecy;&zhcy;&ncy;&iecy;&mcy;&ucy; &bcy;&ucy;&dcy;&ucy;&tcy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&tcy;&softcy; (&scy;&mcy;.  <a href="git-fetch.html">git-fetch[1]</a> ).</span></p> <p><span data-i18n="a420c2abdfc7aeddbd07b2f92af6ef07a644a103c490bf6bc20d1cb62a0a19b2/59" data-source="Can be used in conjunction with &lt;code&gt;--single-branch&lt;/code&gt; to clone and maintain a branch with no references other than a single cloned branch. This is useful e.g. to maintain minimal clones of the default branch of some repository for search indexing." onmousemove="i18n(this)">&Mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy;&mcy;&iecy;&scy;&tcy;&iecy; &scy;  <code>--single-branch</code>  &dcy;&lcy;&yacy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&kcy;&icy; &vcy;&iecy;&tcy;&kcy;&icy; &bcy;&iecy;&zcy; &kcy;&acy;&kcy;&icy;&khcy;-&lcy;&icy;&bcy;&ocy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;, &kcy;&rcy;&ocy;&mcy;&iecy; &ocy;&dcy;&ncy;&ocy;&jcy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &dcy;&lcy;&yacy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&kcy;&icy; &mcy;&icy;&ncy;&icy;&mcy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy; &kcy;&lcy;&ocy;&ncy;&ocy;&vcy; &vcy;&iecy;&tcy;&kcy;&icy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &dcy;&lcy;&yacy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;&tscy;&icy;&icy; &pcy;&ocy;&icy;&scy;&kcy;&acy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---recurse-submodulesltpathspecgt"><span data-i18n="464823d9c524150cae4ff28f31511a94f771b97e39b5e887d1d0b1a4baab591d/b9" data-source="--recurse-submodules[=&amp;lt;pathspec&amp;gt;]" onmousemove="i18n(this)">--recurse-submodules[=&lt;pathspec&gt;]</span></dt> <dd> <p><span data-i18n="1f6d05ba9943e97a4b1753b6bb807127d6356bc7233abc797320c130e2ab7d21/3a" data-source="After the clone is created, initialize and clone submodules within based on the provided pathspec. If no pathspec is provided, all submodules are initialized and cloned. This option can be given multiple times for pathspecs consisting of multiple entries. The resulting clone has &lt;code&gt;submodule.active&lt;/code&gt; set to the provided pathspec, or &amp;quot;.&amp;quot; (meaning all submodules) if no pathspec is provided." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&lcy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &kcy;&lcy;&ocy;&ncy;&acy; &icy;&ncy;&icy;&tscy;&icy;&acy;&lcy;&icy;&zcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&icy; &vcy;&ncy;&ucy;&tcy;&rcy;&icy; &ncy;&iecy;&gcy;&ocy; &ncy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&icy; &pcy;&ucy;&tcy;&icy;. &IEcy;&scy;&lcy;&icy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yacy; &pcy;&ucy;&tcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy;, &vcy;&scy;&iecy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&icy; &icy;&ncy;&icy;&tscy;&icy;&acy;&lcy;&icy;&zcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy;. &Ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &rcy;&acy;&zcy; &dcy;&lcy;&yacy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&jcy; &pcy;&ucy;&tcy;&icy;, &scy;&ocy;&scy;&tcy;&ocy;&yacy;&shchcy;&icy;&khcy; &icy;&zcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &zcy;&acy;&pcy;&icy;&scy;&iecy;&jcy;. &Vcy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&ncy;&ocy;&mcy; &kcy;&lcy;&ocy;&ncy;&iecy;  <code>submodule.active</code>  &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy; &ncy;&acy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ucy;&yucy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy; &pcy;&ucy;&tcy;&icy; &icy;&lcy;&icy;  &quot;.&quot;  (&tcy;&ocy; &iecy;&scy;&tcy;&softcy; &vcy;&scy;&iecy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&icy;), &iecy;&scy;&lcy;&icy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yacy; &pcy;&ucy;&tcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy;.</span></p> <p><span data-i18n="7ffe9727c5a1dbc2ae269b26afc19251ae685b145618df5209981082579da437/18" data-source="Submodules are initialized and cloned using their default settings. This is equivalent to running &lt;code&gt;git submodule update --init --recursive &amp;lt;pathspec&amp;gt;&lt;/code&gt; immediately after the clone is finished. This option is ignored if the cloned repository does not have a worktree/checkout (i.e. if any of &lt;code&gt;--no-checkout&lt;/code&gt;/&lt;code&gt;-n&lt;/code&gt;, &lt;code&gt;--bare&lt;/code&gt;, or &lt;code&gt;--mirror&lt;/code&gt; is given)" onmousemove="i18n(this)">&Scy;&ucy;&bcy;&mcy;&ocy;&dcy;&ucy;&lcy;&icy; &icy;&ncy;&icy;&tscy;&icy;&acy;&lcy;&icy;&zcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &scy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&kcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;. &Ecy;&tcy;&ocy; &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&ncy;&ocy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&ucy;  <code>git submodule update --init --recursive &lt;pathspec&gt;</code>  &scy;&rcy;&acy;&zcy;&ucy; &pcy;&ocy;&scy;&lcy;&iecy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&icy;&yacy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;/&pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&icy; (&tcy;. &iecy;. &iecy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &kcy;&acy;&kcy;&ocy;&jcy;-&lcy;&icy;&bcy;&ocy; &icy;&zcy;  <code>--no-checkout</code> / <code>-n</code> ,  <code>--bare</code>  &icy;&lcy;&icy;  <code>--mirror</code> ).</span></p> </dd> <dt id="Documentation/git-clone.txt---no-shallow-submodules"><span data-i18n="783401e347546de897b5c52bddfb3105fe59aaee27f46698378dc7fe287cf918/43" data-source="--[no-]shallow-submodules" onmousemove="i18n(this)">--[no-]shallow-submodules</span></dt> <dd> <p><span data-i18n="98b9355a378beb85ef238b0bf9d23082c81c22ae30864b5b1e529bb31aa9445e/30" data-source="All submodules which are cloned will be shallow with a depth of 1." onmousemove="i18n(this)">&Vcy;&scy;&iecy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &ncy;&iecy;&gcy;&lcy;&ucy;&bcy;&ocy;&kcy;&icy;&mcy;&icy; &scy; &gcy;&lcy;&ucy;&bcy;&icy;&ncy;&ocy;&jcy; 1.</span></p> </dd> <dt id="Documentation/git-clone.txt---no-remote-submodules"><span data-i18n="d55bef1f170d387f42bcd31523abb68407630d9a5c0489e869a7b706561bd9f3/e8" data-source="--[no-]remote-submodules" onmousemove="i18n(this)">--[no-]remote-submodules</span></dt> <dd> <p><span data-i18n="3f32e7bfc048300dd6b0076a6596c805700a9092d1c7ca76fba44257504668a5/05" data-source="All submodules which are cloned will use the status of the submodule&amp;rsquo;s remote-tracking branch to update the submodule, rather than the superproject&amp;rsquo;s recorded SHA-1. Equivalent to passing &lt;code&gt;--remote&lt;/code&gt; to &lt;code&gt;git submodule update&lt;/code&gt;." onmousemove="i18n(this)">&Vcy;&scy;&iecy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&tcy;&acy;&tcy;&ucy;&scy; &vcy;&iecy;&tcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&yacy; &dcy;&lcy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&yacy;, &acy; &ncy;&iecy; &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ycy;&jcy; &scy;&ucy;&pcy;&iecy;&rcy;&pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&ocy;&mcy; SHA-1. &Ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&iecy;  <code>--remote</code>  &vcy;  <code>git submodule update</code> .</span></p> </dd> <dt id="Documentation/git-clone.txt---separate-git-dirltgit-dirgt"><span data-i18n="81b791d0ed4e7d11c00abdab14d7a9ecc71ed768a9fd2afb339ae16886dab7d1/dd" data-source="--separate-git-dir=&amp;lt;git-dir&amp;gt;" onmousemove="i18n(this)">--separate-git-dir=&lt;git-dir&gt;</span></dt> <dd> <p><span data-i18n="8479c3949777d4589bcb70857514359b4a9eca8dd2fcc7a6e40c9032954bc29f/b4" data-source="Instead of placing the cloned repository where it is supposed to be, place the cloned repository at the specified directory, then make a filesystem-agnostic Git symbolic link to there. The result is Git repository can be separated from working tree." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &rcy;&acy;&zcy;&mcy;&iecy;&shchcy;&iecy;&ncy;&icy;&yacy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &tcy;&acy;&mcy;, &gcy;&dcy;&iecy; &ocy;&ncy; &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &bcy;&ycy;&tcy;&softcy;, &pcy;&ocy;&mcy;&iecy;&scy;&tcy;&icy;&tcy;&iecy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &vcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;, &acy; &zcy;&acy;&tcy;&iecy;&mcy; &scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &tcy;&ucy;&dcy;&acy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&ucy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;  Git , &ncy;&iecy; &zcy;&acy;&vcy;&icy;&scy;&yacy;&shchcy;&ucy;&yucy; &ocy;&tcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy;. &Vcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  Git  &mcy;&ocy;&zhcy;&ncy;&ocy; &ocy;&tcy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &ocy;&tcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;.</span></p> </dd> <dt id="Documentation/git-clone.txt--jltngt"><span data-i18n="95576a51e3d68cc7a3f7b99a7acecd37f2cd8b727461cfc3be3ba0424ba5d728/32" data-source="-j &amp;lt;n&amp;gt;" onmousemove="i18n(this)">-j &lt;n&gt;</span></dt> <dt id="Documentation/git-clone.txt---jobsltngt"><span data-i18n="2857ce3fb043846813aaafd1e01579dddaa82ded7901cecf4cdb983b0453f67b/06" data-source="--jobs &amp;lt;n&amp;gt;" onmousemove="i18n(this)">--jobs &lt;n&gt;</span></dt> <dd> <p><span data-i18n="1a7f71d6ab45e29bf65b8aae962e48ee3481877e7a6f5a87b2989bbc484635d1/f8" data-source="The number of submodules fetched at the same time. Defaults to the &lt;code&gt;submodule.fetchJobs&lt;/code&gt; option." onmousemove="i18n(this)">&Kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&iecy;&jcy;, &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&ncy;&ycy;&khcy; &ocy;&dcy;&ncy;&ocy;&vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>submodule.fetchJobs</code> .</span></p> </dd> <dt id="Documentation/git-clone.txt-ltrepositorygt"><span data-i18n="33156ec69ef42f138c866bfb62145584bca1d9dd862e78b81cbaf77f8240c70e/6f" data-source="&amp;lt;repository&amp;gt;" onmousemove="i18n(this)">&lt;repository&gt;</span></dt> <dd> <p><span data-i18n="bcd0ede9970bd9ebe1cf30f2f2f4e10e53e2c83b68b7b96b7486edc36758f94e/3f" data-source="The (possibly remote) repository to clone from. See the &lt;a href=&quot;#URLS&quot;&gt;GIT URLS&lt;/a&gt; section below for more information on specifying repositories." onmousemove="i18n(this)">&Rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; (&vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy;), &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;. &Dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &ocy;&bcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy; &scy;&mcy;. &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  <a href="git-clone.html#URLS">GIT URLS</a>  &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-clone.txt-ltdirectorygt"><span data-i18n="9115feda412fb78bf51726e96ea762a7c91d1d3b79f89c60704e9bbb31471ff1/5f" data-source="&amp;lt;directory&amp;gt;" onmousemove="i18n(this)">&lt;directory&gt;</span></dt> <dd> <p><span data-i18n="44f7f656cd6f7d6cc7296099e282d126c41eb151525c873ccc04149a991b1ca7/3b" data-source="The name of a new directory to clone into. The &amp;quot;humanish&amp;quot; part of the source repository is used if no directory is explicitly given (&lt;code&gt;repo&lt;/code&gt; for &lt;code&gt;/path/to/repo.git&lt;/code&gt; and &lt;code&gt;foo&lt;/code&gt; for &lt;code&gt;host.xz:foo/.git&lt;/code&gt;). Cloning into an existing directory is only allowed if the directory is empty." onmousemove="i18n(this)">&Icy;&mcy;&yacy; &ncy;&ocy;&vcy;&ocy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &dcy;&lcy;&yacy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &CHcy;&acy;&scy;&tcy;&softcy;  &quot;humanish&quot;  &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; &yacy;&vcy;&ncy;&ocy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; ( <code>repo</code>  &dcy;&lcy;&yacy;  <code>/path/to/repo.git</code>  &icy;  <code>foo</code>  &dcy;&lcy;&yacy;  <code>host.xz:foo/.git</code> ). &Kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &vcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&ocy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; &pcy;&ucy;&scy;&tcy;.</span></p> </dd> <dt id="Documentation/git-clone.txt---bundle-urilturigt"><span data-i18n="df7ece91c004fe31a6bd791c283ebd1a263cf37555953e232c74bb13efcced6e/bd" data-source="--bundle-uri=&amp;lt;uri&amp;gt;" onmousemove="i18n(this)">--bundle-uri=&lt;uri&gt;</span></dt> <dd> <p><span data-i18n="2465553e4e56bc9252f911feb7cd5d0684072c281a60f563ea8f94aeb7c59bee/16" data-source="Before fetching from the remote, fetch a bundle from the given &lt;code&gt;&amp;lt;uri&amp;gt;&lt;/code&gt; and unbundle the data into the local repository. The refs in the bundle will be stored under the hidden &lt;code&gt;refs/bundle/*&lt;/code&gt; namespace. This option is incompatible with &lt;code&gt;--depth&lt;/code&gt;, &lt;code&gt;--shallow-since&lt;/code&gt;, and &lt;code&gt;--shallow-exclude&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&dcy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &scy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ucy;&scy;&tcy;&rcy;&ocy;&jcy;&scy;&tcy;&vcy;&acy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&icy;&tcy;&iecy; &pcy;&acy;&kcy;&iecy;&tcy; &icy;&zcy; &dcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy;  <code>&lt;uri&gt;</code>  &icy; &rcy;&acy;&zcy;&pcy;&acy;&kcy;&ucy;&jcy;&tcy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;. &Scy;&scy;&ycy;&lcy;&kcy;&icy; &vcy; &pcy;&acy;&kcy;&iecy;&tcy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &khcy;&rcy;&acy;&ncy;&icy;&tcy;&softcy;&scy;&yacy; &vcy; &scy;&kcy;&rcy;&ycy;&tcy;&ocy;&mcy; &pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&scy;&tcy;&vcy;&iecy; &icy;&mcy;&iecy;&ncy;  <code>refs/bundle/*</code> . &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &ncy;&iecy;&scy;&ocy;&vcy;&mcy;&iecy;&scy;&tcy;&icy;&mcy;&acy; &scy;  <code>--depth</code> ,  <code>--shallow-since</code>  &icy;  <code>--shallow-exclude</code> .</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_git_urls"><span data-i18n="5fba8049ffb7d3da0bfd924c7d601ce84a8d7ebbe2b3782987dc6ca1a04f6d00/59" data-source="Git urls" onmousemove="i18n(this)">Git urls</span></h2> <div> <p><span data-i18n="d147c03f4de5cb7f6c875c7c341a0b72d5473b3bef2b934148e01af4d6cfd40d/9d" data-source="In general, URLs contain information about the transport protocol, the address of the remote server, and the path to the repository. Depending on the transport protocol, some of this information may be absent." onmousemove="i18n(this)">&Ocy;&bcy;&ycy;&chcy;&ncy;&ocy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &ocy; &tcy;&rcy;&acy;&ncy;&scy;&pcy;&ocy;&rcy;&tcy;&ncy;&ocy;&mcy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&iecy;, &acy;&dcy;&rcy;&iecy;&scy;&iecy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&acy; &icy; &pcy;&ucy;&tcy;&icy; &kcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy;. &Vcy; &zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &ocy;&tcy; &tcy;&rcy;&acy;&ncy;&scy;&pcy;&ocy;&rcy;&tcy;&ncy;&ocy;&gcy;&ocy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&acy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy; &ecy;&tcy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &mcy;&ocy;&zhcy;&iecy;&tcy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy;.</span></p> <p><span data-i18n="1ad97f0a6aa34afd6eccfd280fcb87b428d7437295f31272b81169e9046d697e/72" data-source="Git supports ssh, git, http, and https protocols (in addition, ftp and ftps can be used for fetching, but this is inefficient and deprecated; do not use them)." onmousemove="i18n(this)">Git  &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&ycy; ssh, git, http &icy; https (&kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &dcy;&lcy;&yacy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&icy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; ftp &icy; ftps, &ncy;&ocy; &ecy;&tcy;&ocy; &ncy;&iecy;&ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy; &icy; &ncy;&iecy; &rcy;&iecy;&kcy;&ocy;&mcy;&iecy;&ncy;&dcy;&ucy;&iecy;&tcy;&scy;&yacy;; &ncy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &icy;&khcy;).</span></p> <p><span data-i18n="d29db6bd939b4f82d07b0337a570a6460f1f4cb3070611e3b9c4a6bd7dcdc4c6/91" data-source="The native transport (i.e. git:// URL) does no authentication and should be used with caution on unsecured networks." onmousemove="i18n(this)">&Scy;&ocy;&bcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&jcy; &tcy;&rcy;&acy;&ncy;&scy;&pcy;&ocy;&rcy;&tcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, URL-&acy;&dcy;&rcy;&iecy;&scy; git://) &ncy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy; &acy;&ucy;&tcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy;, &icy; &iecy;&gcy;&ocy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy; &ocy;&scy;&tcy;&ocy;&rcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy;&yucy; &vcy; &ncy;&iecy;&zcy;&acy;&shchcy;&icy;&shchcy;&iecy;&ncy;&ncy;&ycy;&khcy; &scy;&iecy;&tcy;&yacy;&khcy;.</span></p> <p><span data-i18n="4ac5dcd09afdb3898bc77d2c86c358565e21b6125a9a07402af4705de41b2e54/aa" data-source="The following syntaxes may be used with them:" onmousemove="i18n(this)">&Scy; &ncy;&icy;&mcy;&icy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy;&ycy;:</span></p> <div> <ul> <li> <p><span data-i18n="85b8071ea9a4e17f0a16bc1871cc55b37495da4395d2f8e968e1eed5ddc0d4b8/c3" data-source="ssh://[user@]host.xz[:port]/path/to/repo.git/" onmousemove="i18n(this)">ssh://[user@]host.xz[:port]/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="94f8df01acf212a45be565fbc48708868e2c02dc3b242dfa732883159d4f65e3/1a" data-source="git://host.xz[:port]/path/to/repo.git/" onmousemove="i18n(this)">git://host.xz[:port]/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="a716edd911c3a12ebc2d3719f50a6d4eaff9d1f05fe79eb41e55c373f5b481f2/3a" data-source="http[s]://host.xz[:port]/path/to/repo.git/" onmousemove="i18n(this)">http[s]://host.xz[:port]/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="7e92431cfe829f2383cdcf6879f904e2553733081dd17b302f51571e66231fdc/a8" data-source="ftp[s]://host.xz[:port]/path/to/repo.git/" onmousemove="i18n(this)">ftp[s]://host.xz[:port]/path/to/repo.git/</span></p> </li> </ul> </div> <p><span data-i18n="db7cee843cc2a546949490c5e09e44336e37e9cdd7540888b36397b6b5e8f94d/b5" data-source="An alternative scp-like syntax may also be used with the ssh protocol:" onmousemove="i18n(this)">&Acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ncy;&ycy;&jcy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy;, &pcy;&ocy;&dcy;&ocy;&bcy;&ncy;&ycy;&jcy; scp, &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&ocy;&mcy; ssh:</span></p> <div> <ul> <li> <p><span data-i18n="4a929dc8cb4b3d2028bbe0540120a022f9789e83b0a5bb9750e0f891ce382095/d5" data-source="[user@]host.xz:path/to/repo.git/" onmousemove="i18n(this)">[user@]host.xz:path/to/repo.git/</span></p> </li> </ul> </div> <p><span data-i18n="bd9012043309fa4dcec57285a522908aaed7a004c4fc9b10cc06e5c6b21d7136/9d" data-source="This syntax is only recognized if there are no slashes before the first colon. This helps differentiate a local path that contains a colon. For example the local path &lt;code&gt;foo:bar&lt;/code&gt; could be specified as an absolute path or &lt;code&gt;./foo:bar&lt;/code&gt; to avoid being misinterpreted as an ssh url." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy; &rcy;&acy;&scy;&pcy;&ocy;&zcy;&ncy;&acy;&iecy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&iecy;&rcy;&vcy;&ycy;&mcy; &dcy;&vcy;&ocy;&iecy;&tcy;&ocy;&chcy;&icy;&iecy;&mcy; &ncy;&iecy;&tcy; &kcy;&ocy;&scy;&ocy;&jcy; &chcy;&iecy;&rcy;&tcy;&ycy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&mcy;&ocy;&gcy;&acy;&iecy;&tcy; &ocy;&tcy;&lcy;&icy;&chcy;&icy;&tcy;&softcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &pcy;&ucy;&tcy;&softcy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&jcy; &dcy;&vcy;&ocy;&iecy;&tcy;&ocy;&chcy;&icy;&iecy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &pcy;&ucy;&tcy;&softcy;  <code>foo:bar</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &kcy;&acy;&kcy; &acy;&bcy;&scy;&ocy;&lcy;&yucy;&tcy;&ncy;&ycy;&jcy; &pcy;&ucy;&tcy;&softcy; &icy;&lcy;&icy;  <code>./foo:bar</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &iecy;&gcy;&ocy; &ncy;&iecy; &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&rcy;&iecy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&lcy;&icy; &kcy;&acy;&kcy; URL-&acy;&dcy;&rcy;&iecy;&scy; ssh.</span></p> <p><span data-i18n="cf67d602dc4705224b9acfe88501bb72428de6a99a5339153ef28ffc175c8934/8b" data-source="The ssh and git protocols additionally support ~username expansion:" onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&ycy; ssh &icy;  git  &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&yucy;&tcy; &rcy;&acy;&scy;&shcy;&icy;&rcy;&iecy;&ncy;&icy;&iecy; ~username:</span></p> <div> <ul> <li> <p><span data-i18n="5022a44e61661439669787c8c74afb0d188f0352efb180bc67403038424447ae/c6" data-source="ssh://[user@]host.xz[:port]/~[user]/path/to/repo.git/" onmousemove="i18n(this)">ssh://[user@]host.xz[:port]/~[user]/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="f6f1be601767e4cf11c79f10afca037726210ba1740b35ca441b081c542a2969/c5" data-source="git://host.xz[:port]/~[user]/path/to/repo.git/" onmousemove="i18n(this)">git://host.xz[:port]/~[user]/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="9e2c082e92fd9cabbba7b62e525561b244fa78bf27d2efa6374de5187bbd867d/1d" data-source="[user@]host.xz:/~[user]/path/to/repo.git/" onmousemove="i18n(this)">[user@]host.xz:/~[user]/path/to/repo.git/</span></p> </li> </ul> </div> <p><span data-i18n="9e62068bb047e220e81b6d6e75eee41c7f2575caa7574a79e27e7490c423c821/28" data-source="For local repositories, also supported by Git natively, the following syntaxes may be used:" onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&yucy;&tcy;&scy;&yacy;  Git , &mcy;&ocy;&gcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy;&ycy;:</span></p> <div> <ul> <li> <p><span data-i18n="bfbf1c66391b3744bfd1943134e1a42cdfa87a0d5a6cbdb45342514ba98cf60b/5a" data-source="/path/to/repo.git/" onmousemove="i18n(this)">/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="6e8980ffe8830bc2545408dffad80615af26e70641286752c655d1d5aee612f0/46" data-source="file:///path/to/repo.git/" onmousemove="i18n(this)">file:///path/to/repo.git/</span></p> </li> </ul> </div> <p><span data-i18n="3c54c77cba12ed04236027ff11b21abc6e99c153f752cf8b6a2f4161ee316647/24" data-source="These two syntaxes are mostly equivalent, except the former implies --local option." onmousemove="i18n(this)">&Ecy;&tcy;&icy; &dcy;&vcy;&acy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy;&acy; &vcy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&mcy; &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&ncy;&ycy;, &zcy;&acy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy; &pcy;&iecy;&rcy;&vcy;&ycy;&jcy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy; &ocy;&pcy;&tscy;&icy;&yucy; --local.</span></p> <p><span data-i18n="aaff245d6fc594f3bfa2642a909f4942d6cfcd5824d7a4238aa9f2f44b3b086e/32" data-source="&lt;code&gt;git clone&lt;/code&gt;, &lt;code&gt;git fetch&lt;/code&gt; and &lt;code&gt;git pull&lt;/code&gt;, but not &lt;code&gt;git push&lt;/code&gt;, will also accept a suitable bundle file. See &lt;a href=&quot;git-bundle&quot;&gt;git-bundle[1]&lt;/a&gt;." onmousemove="i18n(this)"><code>git clone</code> ,  <code>git fetch</code>  &icy;  <code>git pull</code> , &ncy;&ocy; &ncy;&iecy;  <code>git push</code> , &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&yucy;&tcy; &pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&jcy; &fcy;&acy;&jcy;&lcy; &pcy;&acy;&kcy;&iecy;&tcy;&acy;. &Scy;&mcy;.  <a href="git-bundle.html">git-bundle[1]</a> .</span></p> <p><span data-i18n="cac402a7c7071a93d167097db064ecd601a635deff6251b96126b87d8ab3de4c/e7" data-source="When Git doesn&amp;rsquo;t know how to handle a certain transport protocol, it attempts to use the &lt;code&gt;remote-&amp;lt;transport&amp;gt;&lt;/code&gt; remote helper, if one exists. To explicitly request a remote helper, the following syntax may be used:" onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy;  Git  &ncy;&iecy; &zcy;&ncy;&acy;&iecy;&tcy;, &kcy;&acy;&kcy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &tcy;&rcy;&acy;&ncy;&scy;&pcy;&ocy;&rcy;&tcy;&ncy;&ycy;&jcy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;, &ocy;&ncy; &pcy;&ycy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy;  <code>remote-&lt;transport&gt;</code> , &iecy;&scy;&lcy;&icy; &tcy;&acy;&kcy;&ocy;&vcy;&ocy;&jcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;. &CHcy;&tcy;&ocy;&bcy;&ycy; &yacy;&vcy;&ncy;&ocy; &zcy;&acy;&pcy;&rcy;&ocy;&scy;&icy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy;&acy;, &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&jcy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy;:</span></p> <div> <ul> <li> <p><span data-i18n="ac002e2762647b2653f251cbfeb6a8751521ab57163a24f1a8dbdde09195a1e8/be" data-source="&amp;lt;transport&amp;gt;::&amp;lt;address&amp;gt;" onmousemove="i18n(this)">&lt;transport&gt;::&lt;address&gt;</span></p> </li> </ul> </div> <p><span data-i18n="81b28e2ce719121aeea8c69c296da1a4d9271832979f3b8a5c9621f8ae42cf91/63" data-source="where &amp;lt;address&amp;gt; may be a path, a server and path, or an arbitrary URL-like string recognized by the specific remote helper being invoked. See &lt;a href=&quot;gitremote-helpers&quot;&gt;gitremote-helpers[7]&lt;/a&gt; for details." onmousemove="i18n(this)">&gcy;&dcy;&iecy; &lt;&acy;&dcy;&rcy;&iecy;&scy;&gt; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&ucy;&tcy;&iecy;&mcy;, &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ocy;&mcy; &icy; &pcy;&ucy;&tcy;&iecy;&mcy; &icy;&lcy;&icy; &pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&lcy;&softcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&ocy;&jcy; &tcy;&icy;&pcy;&acy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy;, &rcy;&acy;&scy;&pcy;&ocy;&zcy;&ncy;&acy;&vcy;&acy;&iecy;&mcy;&ocy;&jcy; &kcy;&ocy;&ncy;&kcy;&rcy;&iecy;&tcy;&ncy;&ycy;&mcy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&iecy;&mcy;&ycy;&mcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&mcy; &pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy;&ocy;&mcy;. &Pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy;  <a href="gitremote-helpers.html">gitremote-helpers[7]</a> .</span></p> <p><span data-i18n="b3295dfdc9c7d7a793830b499d72d865ebe225d00802d2c7a0627580856e0b6f/ca" data-source="If there are a large number of similarly-named remote repositories and you want to use a different format for them (such that the URLs you use will be rewritten into URLs that work), you can create a configuration section of the form:" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &bcy;&ocy;&lcy;&softcy;&shcy;&ocy;&iecy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy; &scy; &ocy;&dcy;&icy;&ncy;&acy;&kcy;&ocy;&vcy;&ycy;&mcy;&icy; &icy;&mcy;&iecy;&ncy;&acy;&mcy;&icy; &icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &ncy;&icy;&khcy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ycy;&iecy; &vcy;&acy;&mcy;&icy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy; &bcy;&ycy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ycy; &vcy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&yucy;&shchcy;&icy;&iecy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy;), &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &vcy;&icy;&dcy;&acy;:</span></p> <div> <div> <pre class="hljs language-csharp">        [<span class="hljs-meta">url <span class="hljs-string">&quot;&lt;actual url base&gt;&quot;</span></span>]
                insteadOf = &lt;other url <span class="hljs-keyword">base</span>&gt;</pre> </div> </div> <p><span data-i18n="96747154d6993a6ee72fec6b67d1459ba56ec4ea985a97e73a1d8ffcf5210774/ca" data-source="For example, with this:" onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &scy; &ecy;&tcy;&icy;&mcy;:</span></p> <div> <div> <pre class="hljs language-ini">        <span class="hljs-section">[url &quot;git://git.host.xz/&quot;]</span>
                <span class="hljs-attr">insteadOf</span> = host.xz:/path/to/
                <span class="hljs-attr">insteadOf</span> = work:</pre> </div> </div> <p><span data-i18n="afc9ab39eb31c0189f906bac649b74a3c5a1db748d3da4f6d6a117b985faa137/b2" data-source="a URL like &amp;quot;work:repo.git&amp;quot; or like &amp;quot;host.xz:/path/to/repo.git&amp;quot; will be rewritten in any context that takes a URL to be &amp;quot;git://git.host.xz/repo.git&amp;quot;." onmousemove="i18n(this)">URL-&acy;&dcy;&rcy;&iecy;&scy; &tcy;&icy;&pcy;&acy;  &quot;work:repo.git&quot;  &icy;&lcy;&icy;  &quot;host.xz:/path/to/repo.git&quot;  &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&acy;&ncy; &vcy; &lcy;&yucy;&bcy;&ocy;&mcy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&iecy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&iecy;&tcy; URL-&acy;&dcy;&rcy;&iecy;&scy;  &quot;git://git.host.xz/repo.git&quot; .</span></p> <p><span data-i18n="f4fbbaca63961dfa42ecd67e22d5d705ed0d43dc6f52d9645007a3e74f3cade7/f9" data-source="If you want to rewrite URLs for push only, you can create a configuration section of the form:" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&pcy;&icy;&scy;&acy;&tcy;&softcy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&lcy;&yacy; push-&ucy;&vcy;&iecy;&dcy;&ocy;&mcy;&lcy;&iecy;&ncy;&icy;&jcy;, &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &fcy;&ocy;&rcy;&mcy;&ycy;:</span></p> <div> <div> <pre class="hljs language-csharp">        [<span class="hljs-meta">url <span class="hljs-string">&quot;&lt;actual url base&gt;&quot;</span></span>]
                pushInsteadOf = &lt;other url <span class="hljs-keyword">base</span>&gt;</pre> </div> </div> <p><span data-i18n="96747154d6993a6ee72fec6b67d1459ba56ec4ea985a97e73a1d8ffcf5210774/ca" data-source="For example, with this:" onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &scy; &ecy;&tcy;&icy;&mcy;:</span></p> <div> <div> <pre class="hljs language-csharp">        [<span class="hljs-meta">url <span class="hljs-string">&quot;ssh://example.org/&quot;</span></span>]
                pushInsteadOf = git:<span class="hljs-comment">//example.org/</span></pre> </div> </div> <p><span data-i18n="f8d02de92a5a52af81710f49aebc5278d06b8e28331996981a550cd25e76f6f9/8b" data-source="a URL like &amp;quot;git://example.org/path/to/repo.git&amp;quot; will be rewritten to &amp;quot;ssh://example.org/path/to/repo.git&amp;quot; for pushes, but pulls will still use the original URL." onmousemove="i18n(this)">URL-&acy;&dcy;&rcy;&iecy;&scy; &tcy;&icy;&pcy;&acy;  &quot;git://example.org/path/to/repo.git&quot;  &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&acy;&ncy; &vcy;  &quot;ssh://example.org/path/to/repo.git&quot;  &dcy;&lcy;&yacy; push-&ucy;&vcy;&iecy;&dcy;&ocy;&mcy;&lcy;&iecy;&ncy;&icy;&jcy;, &ncy;&ocy; &pcy;&rcy;&icy; &zcy;&acy;&pcy;&rcy;&ocy;&scy;&iecy; &pcy;&ocy;-&pcy;&rcy;&iecy;&zhcy;&ncy;&iecy;&mcy;&ucy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&jcy; URL-&acy;&dcy;&rcy;&iecy;&scy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_examples"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h2> <div> <div> <ul> <li> <p><span data-i18n="9de4edb36cf8013ed92af14cf33054ede77f99b2efc9359210cdcf2b065cd1b1/13" data-source="Clone from upstream:" onmousemove="i18n(this)">&Kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy;&zcy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&gcy;&ocy; &pcy;&ocy;&tcy;&ocy;&kcy;&acy;:</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git <span class="hljs-built_in">clone</span> git://git.kernel.org/pub/scm/.../linux.git my-linux</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">cd</span> my-linux</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">make</span></pre> </div> </div> </li> <li> <p><span data-i18n="629a1f222b1e003e6140f63efd5dce644d0099de93d76beba6ad881a5145652f/1a" data-source="Make a local clone that borrows from the current directory, without checking things out:" onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &kcy;&lcy;&ocy;&ncy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &zcy;&acy;&icy;&mcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &icy;&zcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;, &ncy;&iecy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&yacy; &iecy;&gcy;&ocy;:</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git <span class="hljs-built_in">clone</span> -l -s -n . ../copy</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">cd</span> ../copy</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git show-branch</span></pre> </div> </div> </li> <li> <p><span data-i18n="f0bccaca6c9a11a202e4ca288f40f49ea69d490cfd2c991ecdd7b96fac9ac46f/ba" data-source="Clone from upstream while borrowing from an existing local directory:" onmousemove="i18n(this)">&Kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &icy;&zcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&dcy;&acy; &pcy;&rcy;&icy; &zcy;&acy;&icy;&mcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &icy;&zcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;:</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git <span class="hljs-built_in">clone</span> --reference /git/linux.git \
        git://git.kernel.org/pub/scm/.../linux.git \
        my-linux</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">cd</span> my-linux</span></pre> </div> </div> </li> <li> <p><span data-i18n="549759b1210082fc5ffdc446c0de7841d0921d24c1236eecbf365fa3ec46921d/ab" data-source="Create a bare repository to publish your changes to the public:" onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &pcy;&ucy;&scy;&tcy;&ocy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &dcy;&lcy;&yacy; &pcy;&ucy;&bcy;&lcy;&icy;&chcy;&ncy;&ocy;&jcy; &pcy;&ucy;&bcy;&lcy;&icy;&kcy;&acy;&tscy;&icy;&icy; &vcy;&acy;&shcy;&icy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;:</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git <span class="hljs-built_in">clone</span> --bare -l /home/proj/.git /pub/scm/proj.git</span></pre> </div> </div> </li> </ul> </div> </div> <h2 class="text-body-emphasis"  id="_configuration"><span data-i18n="b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc/aa" data-source="Configuration" onmousemove="i18n(this)">Configuration</span></h2> <div> <p><span data-i18n="5b8d919fa35b75aa925ebd5414ed6373e762fb0a087a062961c27b2ce9586555/57" data-source="Everything below this line in this section is selectively included from the &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; documentation. The content is the same as what&amp;rsquo;s found there:" onmousemove="i18n(this)">&Vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&icy;&zhcy;&iecy; &ecy;&tcy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &vcy; &ecy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;, &vcy;&ycy;&bcy;&ocy;&rcy;&ocy;&chcy;&ncy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ocy; &icy;&zcy; &dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;&tscy;&icy;&icy;  <a href="git-config.html">git-config[1]</a> . &Scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&ncy;&icy;&iecy; &tcy;&acy;&kcy;&ocy;&iecy; &zhcy;&iecy;, &kcy;&acy;&kcy; &icy; &ncy;&acy;&jcy;&dcy;&iecy;&ncy;&ncy;&ocy;&iecy; &tcy;&acy;&mcy;:</span></p> <div> <dl> <dt id="Documentation/git-clone.txt-inittemplateDir"><span data-i18n="b343092364570a510bfd7368dc8647b906488d10fffc609a83e15c14c5dec46d/85" data-source="init.templateDir" onmousemove="i18n(this)">init.templateDir</span></dt> <dd> <p><span data-i18n="a8f9755dc85d9d1b0ea3c2d6fea41fb0b30025620d89310635c5dea7c0327d28/5b" data-source="Specify the directory from which templates will be copied. (See the &amp;quot;TEMPLATE DIRECTORY&amp;quot; section of &lt;a href=&quot;git-init&quot;&gt;git-init[1]&lt;/a&gt;.)" onmousemove="i18n(this)">&Ucy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;, &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &bcy;&ucy;&dcy;&ucy;&tcy; &kcy;&ocy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;&ycy;. (&Scy;&mcy;. &rcy;&acy;&zcy;&dcy;&iecy;&lcy;  &quot;TEMPLATE DIRECTORY&quot;  &vcy;  <a href="git-init.html">git-init[1]</a> .)</span></p> </dd> <dt id="Documentation/git-clone.txt-initdefaultBranch"><span data-i18n="248f783fa86eaf894cbebccf805379369a3a3ee71fd93bf353b6b5133e7ad905/2c" data-source="init.defaultBranch" onmousemove="i18n(this)">init.defaultBranch</span></dt> <dd> <p><span data-i18n="285577966f5fd53110152b1cbb7d1ac3d712e57e15f7ca7ec9e346d05900e001/ef" data-source="Allows overriding the default branch name e.g. when initializing a new repository." onmousemove="i18n(this)">&Pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &icy;&mcy;&yacy; &vcy;&iecy;&tcy;&kcy;&icy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&rcy;&icy; &icy;&ncy;&icy;&tscy;&icy;&acy;&lcy;&icy;&zcy;&acy;&tscy;&icy;&icy; &ncy;&ocy;&vcy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-clone.txt-clonedefaultRemoteName"><span data-i18n="bf728cc668826a37cef866fa5637aa6b475dc7df0e6b72b7a90d04622cb72960/6c" data-source="clone.defaultRemoteName" onmousemove="i18n(this)">clone.defaultRemoteName</span></dt> <dd> <p><span data-i18n="929e504fb10e695db3b63e657d6ecf652c7ec24ec4898a61eed5cdc80727732e/8c" data-source="The name of the remote to create when cloning a repository. Defaults to &lt;code&gt;origin&lt;/code&gt;, and can be overridden by passing the &lt;code&gt;--origin&lt;/code&gt; command-line option to &lt;a href=&quot;git-clone&quot;&gt;git-clone[1]&lt;/a&gt;." onmousemove="i18n(this)">&Icy;&mcy;&yacy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ucy;&scy;&tcy;&rcy;&ocy;&jcy;&scy;&tcy;&vcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ocy; &pcy;&rcy;&icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>origin</code> , &icy; &iecy;&gcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy;, &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&vcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;  <code>--origin</code>  &vcy;  <a href="git-clone.html">git-clone[1]</a> .</span></p> </dd> <dt id="Documentation/git-clone.txt-clonerejectShallow"><span data-i18n="0ff60913eb942de6f0a769c1c56e39565bbba5c4000cc80dfc52647bacaa4361/d4" data-source="clone.rejectShallow" onmousemove="i18n(this)">clone.rejectShallow</span></dt> <dd> <p><span data-i18n="c5d5063af7ac546ee385990b5f9345b187f97929af8b79ce4c693f7cdab7da84/20" data-source="Reject cloning a repository if it is a shallow one; this can be overridden by passing the &lt;code&gt;--reject-shallow&lt;/code&gt; option on the command line. See &lt;a href=&quot;git-clone&quot;&gt;git-clone[1]&lt;/a&gt;" onmousemove="i18n(this)">&Ocy;&tcy;&kcy;&lcy;&ocy;&ncy;&icy;&tcy;&softcy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy; &ncy;&iecy;&gcy;&lcy;&ucy;&bcy;&ocy;&kcy;&icy;&jcy;; &ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy;, &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&vcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;  <code>--reject-shallow</code>  &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;. &Scy;&mcy;.  <a href="git-clone.html">git-clone[1]</a> .</span></p> </dd> <dt id="Documentation/git-clone.txt-clonefilterSubmodules"><span data-i18n="ee55fc7484e7b739d7e78295eb165d27a5ef00bd2e2df96cdb15857e2d6d77f8/23" data-source="clone.filterSubmodules" onmousemove="i18n(this)">clone.filterSubmodules</span></dt> <dd> <p><span data-i18n="be073f599d79f4ab9dc66b3ac3d42e860db61a89d0080c524ce060370c429b3e/1f" data-source="If a partial clone filter is provided (see &lt;code&gt;--filter&lt;/code&gt; in &lt;a href=&quot;git-rev-list&quot;&gt;git-rev-list[1]&lt;/a&gt;) and &lt;code&gt;--recurse-submodules&lt;/code&gt; is used, also apply the filter to submodules." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &pcy;&rcy;&iecy;&dcy;&ucy;&scy;&mcy;&ocy;&tcy;&rcy;&iecy;&ncy; &fcy;&icy;&lcy;&softcy;&tcy;&rcy; &chcy;&acy;&scy;&tcy;&icy;&chcy;&ncy;&ocy;&gcy;&ocy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; (&scy;&mcy;.  <code>--filter</code>  &vcy;  <a href="git-rev-list.html">git-rev-list[1]</a> ) &icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>--recurse-submodules</code> , &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &fcy;&icy;&lcy;&softcy;&tcy;&rcy; &kcy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&yacy;&mcy;.</span></p> </dd> </dl> </div> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-clone">https://git-scm.com/docs/git-clone</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                               <ins class="adsbygoogle"
        style="display:block"
        data-ad-format="autorelaxed"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="7867651344"></ins>
   <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
   </script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-column.html">
                            git column                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-commit.html">
                            git commit                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-commit-graph.html">
                            git commit-graph                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-commit-tree.html">
                            git commit-tree                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-config.html">
                            git config                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-count-objects.html">
                            git count-objects                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-credential.html">
                            git credential                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-clone.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>